CGAL::insert_cell_0_in_cell_2<CMap>

#include <CGAL/Combinatorial_map_operations.h>


template <class CMap>
typename CMap::Dart_handle insert_cell_0_in_cell_2 ( CMap & cm, typename CMap::Dart_handle dh)
Inserts a 0-cell in the 2-cell containing dh. The 2-cell is split in triangles, one for each initial edge of the facet. Returns a handle on one dart belonging to the new 0-cell.
Precondition: CMap::dimension≥2 and *dhcm.darts().
See example in Figure 27.12.
If 2-attributes are non void, Attribute_type<2>::type::On_split(a,a') is called, with a the original 2-attribute associated with dh and a' each new 2-attribute created during the operation.

See Also

CGAL::insert_cell_0_in_cell_2<CMap>
CGAL::insert_cell_1_in_cell_2<CMap>
CGAL::insert_dangling_cell_1_in_cell_2<CMap>
CGAL::insert_cell_2_in_cell_3<CMap,InputIterator>
CGAL::remove_cell<CMap,i>