CGAL 5.6.1 - 2D Periodic Triangulations
Periodic_2TriangulationVertexBase_2 Concept Reference

Definition

A refinement of the concept TriangulationVertexBase_2 which adds an API for offset.

At the base level of 2D-triangulations (see Section Software Design), a vertex provides access to one of its incident faces through a handle.

The storage of the offset is only needed when a triangulation is copied.

Refines
TriangulationVertexBase_2
Has Models:
CGAL::Periodic_2_triangulation_vertex_base_2
See also
TriangulationDataStructure_2
TriangulationVertexBase_2
Periodic_2TriangulationFaceBase_2

Types

typedef unspecified_type Periodic_2_offset_2
 A model of the concept Periodic_2Offset_2
 

Access Functions

Periodic_2_offset_2 offset () const
 Returns the offset stored in the vertex.
 
bool get_offset_flag () const
 Returns true if the offset has been set, false otherwise.
 
void set_offset (Periodic_2_offset_2 o)
 Sets the offset and sets the offset flag to true.
 
void clear_offset ()
 Sets the offset flag to false and clears the offset.