Function

CGAL::insert_cell_2_in_cell_3<CMap,InputIterator>

#include <CGAL/Combinatorial_map_operations.h>


template <class CMap, class InputIterator>
typename CMap::Dart_handle insert_cell_2_in_cell_3 ( CMap & cm, InputIterator afirst, InputIterator alast)
Inserts a 2-cell along the path of 1-cells containing darts given by the range [afirst,alast). Returns a handle on one dart belonging to the new 2-cell.
Precondition: is_insertable_cell_2_in_cell_3<Map>(cm,afirst,alast).
See example in Figure 27.14.
If 3-attributes are non void, Attribute_type<3>::type::On_split(a,a') is called, with a the original 3-attribute associated with dh and a' the new 3-attribute created during the operation.

See Also

CGAL::is_insertable_cell_2_in_cell_3<CMap,InputIterator>
CGAL::insert_cell_0_in_cell_1<CMap>
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::remove_cell<CMap,i>