CGAL 5.6 - 2D Triangulations on the Sphere
Loading...
Searching...
No Matches
TriangulationOnSphereVertexBase_2 Concept Reference

Definition

Refines
TriangulationDSVertexBase_2

The concept TriangulationOnSphereVertexBase_2 describes the requirements for the vertex base class of a triangulation data structure to be plugged in a triangulation on the sphere. It refines the concept TriangulationDSVertexBase_2, adding geometric information: the vertex base of a triangulation stores a point.

Has Models:
CGAL::Triangulation_on_sphere_vertex_base_2<Traits,Vb>
See also
TriangulationDataStructure_2
TriangulationOnSphereFaceBase_2

Types

typedef unspecified_type Point
 Must be the equivalent to the point type Point_on_sphere_2 of the concept TriangulationOnSphereTraits_2.
 
typedef unspecified_type Face_handle
 Must be the equivalent to the point type Face_handle of the triangulation.
 

Creation

 TriangulationOnSphereVertexBase_2 (Point p)
 constructs a vertex whose geometric embedding is the point p.
 
 TriangulationOnSphereVertexBase_2 (Point p, Face_handle f)
 constructs a vertex whose geometric embedding is the point p and pointing to face f.
 

Access Functions

Point point () const
 returns the point.
 

Setting

void set_point (Point p)
 sets the point.
 
std::istream & operator>> (std::istream &is, TriangulationOnSphereVertexBase_2 &v)
 inputs the non-combinatorial information given by the vertex: the point and other possible information.
 
std::ostream & operator<< (std::ostream &os, const TriangulationOnSphereVertexBase_2 &v)
 outputs the non combinatorial operation given by the vertex: the point and other possible information.
 

Constructor & Destructor Documentation

◆ TriangulationOnSphereVertexBase_2()

TriangulationOnSphereVertexBase_2::TriangulationOnSphereVertexBase_2 ( Point  p,
Face_handle  f 
)

constructs a vertex whose geometric embedding is the point p and pointing to face f.

Face_handle is the type defined the triangulation data structure used in the Delaunay triangulation on the sphere.