CGAL::insert_cell_1_in_cell_2<CMap>

#include <CGAL/Combinatorial_map_operations.h>


template < class CMap >
typename CMap::Dart_handle insert_cell_1_in_cell_2 ( CMap& cm, typename CMap::Dart_handle dh1, typename CMap::Dart_handle dh2)
Inserts a 1-cell in the 2-cell containing dh1 and dh2. Returns a handle on one dart belonging to the new 1-cell.
Precondition: is_insertable_cell_1_in_cell_2<Map>(cm,dh1,dh2).
See example in Figure 27.13.
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' the new 2-attribute created during the operation.

See Also

CGAL::is_insertable_cell_1_in_cell_2<CMap>
CGAL::insert_cell_0_in_cell_1<CMap>
CGAL::insert_cell_0_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>