CGAL::is_removable<CMap,i>

#include <CGAL/Combinatorial_map_operations.h>


template <class CMap, unsigned int i>
bool is_removable ( CMap cm, typename CMap::Dart_const_handle dh)
Returns true iff the i-cell containing dh can be removed, i.e. if i==CMap::dimension or if i==CMap::dimension-1 or if i<CMap::dimension-1 and the i-cell containing dh is incident to at most two (i+1)-cells.
Precondition: 0≤iCMap::dimension and *dhcm.darts().

See Also

CGAL::remove_cell<CMap,i>