CGAL 6.0.1 - 2D Triangulations
Loading...
Searching...
No Matches
CGAL::Triangulation_vertex_base_2< Traits, Vb > Class Template Reference

#include <CGAL/Triangulation_vertex_base_2.h>

Inherits from

Vb.

Inherited by CGAL::Polyline_simplification_2::Vertex_base_2< class K, class Vb >.

Definition

template<typename Traits, typename Vb>
class CGAL::Triangulation_vertex_base_2< Traits, Vb >

The class Triangulation_vertex_base_2 is the default model for the concept TriangulationVertexBase_2.

Triangulation_vertex_base_2 can be simply plugged in the triangulation data structure of a triangulation, or used as a base class to derive other base vertex classes tuned for specific applications.

Template Parameters
Traitsmust be a geometric traits class which provides the type Point. It is strongly recommended to instantiate this traits class with the model used for the triangulation traits class. This ensures that the point type defined by Triangulation_vertex_base_2 is the same as the point type defined by the triangulation.
Vbmust be a model of the concept TriangulationDSVertexBase_2 By default this parameter is instantiated by Triangulation_ds_vertex_base_2<>.
Is model of
TriangulationVertexBase_2
See also
CGAL::Triangulation_ds_vertex_base_2<Tds>
CGAL::Triangulation_face_base_2<Traits,Fb>
CGAL::Regular_triangulation_vertex_base_2<Traits,Vb>
CGAL::Triangulation_vertex_base_with_info_2<Info,Traits,Vb>
Examples
Triangulation_2/colored_face.cpp, Triangulation_2/constrained_hierarchy_plus.cpp, Triangulation_2/hierarchy.cpp, and Triangulation_2/polygon_triangulation.cpp.

Types

typedef Traits::Point_2 Point