The vertex stores a point and a pointer to an incident face.
| |
Introduces a variable v. The geometric information is
initialized by the default constructor of class P. The
pointer to the incident face is initialized with 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.
|
|
| |
Sets the geometric information to p. | ||
|
| |
Sets the incident face to f. |
|
| Returns the geometric information of v. |
|
| Returns a face of the triangulation having v as vertex. |
Three circulator classes allow to traverse the edges, and faces incident to a given vertex and vertices adjacent to a given vertices. Note that infinite as well as finite incident edges and faces are visited. These circulators ar 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.
|
| |
|
| |
|
|
|
|
Returns modulo
3. Precondition: . |
|
|
Returns modulo
3. Precondition: . |
|
| Returns the degree of v in the triangulation. |