| |
Introduces a new vertex. The geometric information is initialized
by the default constructor of the class Point. The pointer
to the incident face is initialized to NULL.
| |
| |
Introduces a variable v, and initializes the geometric
information. The pointer to the incident face is initialized with
NULL.
| |
| |
Introduces a variable v, and initializes the geometric
information and the pointer to the incident face.
|
|
| Returns the geometric information of v. |
|
| Returns a face of the triangulation having v as vertex. |
|
| |
Set the incident face to f. |
|
|
Returns modulo
3. Precondition: . |
|
|
Returns modulo
3. Precondition: . |
|
| Returns the degree of v in the triangulation. |
|
| Returns an handle to the vertex. |
|
| Check the validity of a vertex: i.e. the pointer to the incident face and call the is_valid() function of the base class to perform any geometric test provided by the user therein. |
Three circulator classes allow to traverse the edges, and faces incident to a given vertex or the adjacent vertices. These circulators are bidirectional and their value types are respectively Vertex, Edge and Face. The operator++ moves the circulator counterclockwise around the vertex and the operator-- moves the circulator clockwise.
A face circulator is invalidated by any modification of the face it points to. An edge circulator is invalidated by any modification of the two faces that are incident to the edge pointed to. A vertex circulator that turns around vertex v and that has as value a pointer to vertex w, is invalidated by any modification of the two faces that are incident to v and w.
|
| |
A circulator for the incident faces that refers to face f or
to an arbitrary face incident to v if f is omitted.
Precondition: Face f is incident to vertex v. | ||
|
| |
A circulator for the incident edges that refers to an abitrary edge
incident to vertex v if f is omitted. Otherwise the
circulator refers to the first edge of f incident to vertex
v in counterclockwise order around v.
Precondition: Face f is incident to vertex v. | ||
|
| |
A circulator for the adjacent vertices that refers to the first
vertex of face f incident to v in counterclockwise
order around v or to an abitrary vertex incident to vertex
v if f is omitted.
Precondition: Face f is incident to vertex v. |