CGAL 5.1.2 - 2D Periodic Hyperbolic Triangulations
Periodic_4HyperbolicTriangulationVertexBase_2 Concept Reference

Definition

Refines:
TriangulationVertexBase_2

A refinement of the concept TriangulationVertexBase_2 that adds an interface for hyperbolic translations.

For periodic hyperbolic triangulations, the vertex base class needs to temporarily store a hyperbolic translation during the insertion process. A boolean flag indicates whether the face stores a translation or not. The value of the flag is automatically set when storing or removing a translation.

Has Models:
CGAL::Periodic_4_hyperbolic_triangulation_vertex_base_2
See also
TriangulationDataStructure_2
Periodic_4HyperbolicTriangulationFaceBase_2

Types

typedef TriangulationVertexBase_2::Face_handle Face_handle
 
typedef Periodic_4HyperbolicDelaunayTriangulationTraits_2 Geom_traits
 
typedef Geom_traits::Hyperbolic_point_2 Point
 
typedef Geom_traits::Hyperbolic_translation Hyperbolic_translation
 

Creation

 Periodic_4HyperbolicTriangulationVertexBase_2 ()
 Default constructor.
 
 Periodic_4HyperbolicTriangulationVertexBase_2 (const Point &p)
 Construct a vertex that stores the point p.
 
 Periodic_4HyperbolicTriangulationVertexBase_2 (const Point &p, Face_handle fh)
 Constructs a vertex that stores the point p and is incident to the face fh.
 
 Periodic_4HyperbolicTriangulationVertexBase_2 (const Face_handle &fh)
 Constructs a vertex that is incident to the face fh.
 

Hyperbolic translations API

void set_translation (const Hyperbolic_translation &tr)
 Stores the translation tr in the vertex, and sets the translation flag to true.
 
Hyperbolic_translation translation ()
 Returns the translation stored in the vertex.
 
void clear_translation ()
 Removes the translation stored in the vertex, and sets the translation flag to false.
 
bool get_translation_flag ()
 Returns the value of the translation flag.