CGAL 5.1 - 2D Triangulation
TriangulationHierarchyVertexBase_2 Class Reference

#include <Concepts/TriangulationHierarchyVertexBase_2.h>

Definition

The vertex of a triangulation included in a triangulation hierarchy has to provide some pointers to the corresponding vertices in the triangulations of the next and preceding levels. Therefore, the concept TriangulationHierarchyVertexBase_2 refines the concept TriangulationVertexBase_2, adding handles to the corresponding vertices in the next and previous level triangulations.

Refines:
TriangulationVertexBase_2
Has Models:
CGAL::Triangulation_hierarchy_vertex_base_2<Vb>
See also
CGAL::Triangulation_hierarchy_2<Tr>

Operations

Vertex_handle up ()
 returns the corresponding vertex (if any) of the next level triangulation. More...
 
Vertex_handle down ()
 returns the corresponding vertex of the previous level triangulation. More...
 
void set_up (Vertex_handle u)
 sets the handle pointing to to the corresponding vertex of the next level triangulation. More...
 
void set_down (Vertex_handle d)
 sets the handle pointing to the corresponding vertex of the previous level triangulation. More...
 

Member Function Documentation

◆ down()

Vertex_handle TriangulationHierarchyVertexBase_2::down ( )

returns the corresponding vertex of the previous level triangulation.

◆ set_down()

void TriangulationHierarchyVertexBase_2::set_down ( Vertex_handle  d)

sets the handle pointing to the corresponding vertex of the previous level triangulation.

◆ set_up()

void TriangulationHierarchyVertexBase_2::set_up ( Vertex_handle  u)

sets the handle pointing to to the corresponding vertex of the next level triangulation.

◆ up()

Vertex_handle TriangulationHierarchyVertexBase_2::up ( )

returns the corresponding vertex (if any) of the next level triangulation.