CGAL 4.5 - Combinatorial Maps
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

Basic constructions.

#include <CGAL/Combinatorial_map_constructors.h>

Functions

template<class CMap >
CMap::Dart_handle CGAL::make_combinatorial_hexahedron (CMap &cm)
 Creates a combinatorial hexahedron (six combinatorial quadrangles linked together by β2), and adds it in cm. More...
 
template<class CMap >
CMap::Dart_handle CGAL::make_combinatorial_polygon (CMap &cm, unsigned int lg)
 Creates a combinatorial polygon of length lg (lg darts linked by β1), and adds it in cm. More...
 
template<class CMap >
CMap::Dart_handle CGAL::make_combinatorial_tetrahedron (CMap &cm)
 Creates a combinatorial tetrahedron (four combinatorial triangles linked together by β2), and adds it in cm. More...
 
template<class CMap >
CMap::Dart_handle CGAL::make_edge (CMap &cm)
 Creates an isolated edge (two darts linked by β2) and adds it in cm. More...
 

Function Documentation

template<class CMap >
CMap::Dart_handle CGAL::make_combinatorial_hexahedron ( CMap &  cm)

Creates a combinatorial hexahedron (six combinatorial quadrangles linked together by β2), and adds it in cm.

Returns a handle on one dart of this combinatorial hexahedron.

Precondition
CMap::dimension 2.
See Also
CGAL::make_edge<CMap>
CGAL::make_combinatorial_polygon<CMap>
CGAL::make_combinatorial_tetrahedron<CMap>

#include <CGAL/Combinatorial_map_constructors.h>

Examples:
Combinatorial_map/map_3_dynamic_onmerge.cpp, Combinatorial_map/map_3_operations.cpp, and Combinatorial_map/map_3_with_colored_facets.cpp.
template<class CMap >
CMap::Dart_handle CGAL::make_combinatorial_polygon ( CMap &  cm,
unsigned int  lg 
)

Creates a combinatorial polygon of length lg (lg darts linked by β1), and adds it in cm.

Returns a handle on one dart of this combinatorial polygon.

Precondition
CMap::dimension 1 and lg > 0.
See Also
CGAL::make_edge<CMap>
CGAL::make_combinatorial_tetrahedron<CMap>
CGAL::make_combinatorial_hexahedron<CMap>

#include <CGAL/Combinatorial_map_constructors.h>

template<class CMap >
CMap::Dart_handle CGAL::make_combinatorial_tetrahedron ( CMap &  cm)

Creates a combinatorial tetrahedron (four combinatorial triangles linked together by β2), and adds it in cm.

Returns a handle on one dart of this combinatorial tetrahedron.

Precondition
CMap::dimension 2.
See Also
CGAL::make_edge<CMap>
CGAL::make_combinatorial_polygon<CMap>
CGAL::make_combinatorial_hexahedron<CMap>

#include <CGAL/Combinatorial_map_constructors.h>

Examples:
Combinatorial_map/map_3_marks.cpp, and Combinatorial_map/map_3_simple_example.cpp.
template<class CMap >
CMap::Dart_handle CGAL::make_edge ( CMap &  cm)

Creates an isolated edge (two darts linked by β2) and adds it in cm.

Returns a handle on one dart of this edge.

Precondition
CMap::dimension 2.
See Also
CGAL::make_combinatorial_polygon<CMap>
CGAL::make_combinatorial_tetrahedron<CMap>
CGAL::make_combinatorial_hexahedron<CMap>

#include <CGAL/Combinatorial_map_constructors.h>