Navigation: Up, Table of Contents, Bibliography, Index, Title Page

At the bottom level, a vertex stores a point and a provides access to one of its incident face through a void * pointer.

Types

Vertex_base::Point
Must be the same as the point type Gt::Point defined by the geometric traits class of the triangulation.

Creation

Vertex_base v;
Default constructor.

Vertex_base v ( Point p);
Construct a vertex embedded in point p.

Vertex_base v ( Point p, void* f);
Construct a vertex embedded in point p and pointing on face *f.

Access Functions

Point v.point () Returns the point.
void* v.face () A pointer to an incident face.

Setting

void v.set_point ( Point p)
Sets the point.
void v.set_face ( void* f)
Sets the incident face.

Checking

bool v.is_valid () To perform any required geometrical test on a vertex.


Next: Class declaration of Face_base
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The CGAL Project. 22 January, 1999.