\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.5.2 - 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 \( \beta_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 \( \beta_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 \( \beta_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 \( \beta_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 \( \beta_2\)), and adds it in cm.

Returns a handle on one dart of this combinatorial hexahedron.

Precondition
CMap::dimension \(\geq\) 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 \( \beta_1\)), and adds it in cm.

Returns a handle on one dart of this combinatorial polygon.

Precondition
CMap::dimension \( \geq\) 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 \( \beta_2\)), and adds it in cm.

Returns a handle on one dart of this combinatorial tetrahedron.

Precondition
CMap::dimension \( \geq\) 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 \( \beta_2\)) and adds it in cm.

Returns a handle on one dart of this edge.

Precondition
CMap::dimension \( \geq\) 2.
See Also
CGAL::make_combinatorial_polygon<CMap>
CGAL::make_combinatorial_tetrahedron<CMap>
CGAL::make_combinatorial_hexahedron<CMap>

#include <CGAL/Combinatorial_map_constructors.h>