CGAL 6.1 - 2D Triangulations on the Sphere
Loading...
Searching...
No Matches
TriangulationOnSphereVertexBase_2 Class Reference

#include <Concepts/TriangulationOnSphereVertexBase_2.h>

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.
 

Member Typedef Documentation

◆ Face_handle

Must be the equivalent to the point type Face_handle of the triangulation.

◆ Point

typedef unspecified_type TriangulationOnSphereVertexBase_2::Point

Must be the equivalent to the point type Point_on_sphere_2 of the concept TriangulationOnSphereTraits_2.

Constructor & Destructor Documentation

◆ TriangulationOnSphereVertexBase_2() [1/2]

TriangulationOnSphereVertexBase_2::TriangulationOnSphereVertexBase_2 ( Point  p)

constructs a vertex whose geometric embedding is the point p.

◆ TriangulationOnSphereVertexBase_2() [2/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.

Member Function Documentation

◆ operator<<()

std::ostream & TriangulationOnSphereVertexBase_2::operator<< ( std::ostream &  os,
const TriangulationOnSphereVertexBase_2 v 
)

outputs the non combinatorial operation given by the vertex: the point and other possible information.

◆ operator>>()

std::istream & TriangulationOnSphereVertexBase_2::operator>> ( std::istream &  is,
TriangulationOnSphereVertexBase_2 v 
)

inputs the non-combinatorial information given by the vertex: the point and other possible information.

◆ point()

Point TriangulationOnSphereVertexBase_2::point ( ) const

returns the point.

◆ set_point()

void TriangulationOnSphereVertexBase_2::set_point ( Point  p)

sets the point.