CGAL 5.1 - 2D Triangulation Data Structure
|
The triangulation data structure can be seen as a container for the faces and vertices of a triangulation. This class also takes care of all the combinatorial operations performed on the triangulation.
The class CGAL::Triangulation_data_structure_2<Vb,Fb>
is a model of the concept TriangulationDataStructure_2
. which includes the sub-concepts TriangulationDataStructure_2::Face
and TriangulationDataStructure_2::Vertex
.
To ensure all the flexibility of the triangulation classes, described and in Section Flexibility of Chapter 2D Triangulations, the model CGAL::Triangulation_data_structure_2<Vb,Fb>
has two template parameters. The class CGAL::Triangulation_data_structure_2<Vb,Fb>
derives its Vertex
and Face
types from the two template parameters Vb
and Fb
respectively.
If the triangulation data structure is used alone, these parameters have to be instantiated by models of the concepts TriangulationDSFaceBase_2
and TriangulationDSVertexBase_2
. These concepts are described in this chapter together with their default models CGAL::Triangulation_ds_face_base_2<Tds>
and CGAL::Triangulation_ds_vertex_base_2<Tds>
.
If the triangulation data structure is plugged into a triangulation class, the parameters have to be instantiated by models of different refining concepts according to the actual type of the triangulation. These refining concepts and their models are described in Chapter 2D Triangulations.
TriangulationDataStructure_2
TriangulationDataStructure_2::Face
TriangulationDataStructure_2::Vertex
TriangulationDSFaceBase_2
TriangulationDSVertexBase_2
CGAL::Triangulation_data_structure_2<Vb,Fb>
CGAL::Triangulation_ds_face_base_2<Tds>
CGAL::Triangulation_ds_vertex_base_2<Tds>
CGAL::Triangulation_cw_ccw_2
Modules | |
Concepts | |
Classes | |
class | CGAL::Triangulation_data_structure_2< VertexBase, FaceBase > |
class | CGAL::Triangulation_ds_face_base_2< TDS > |
class | CGAL::Triangulation_ds_vertex_base_2< TDS > |