For user defined triangulation algorithms, faces need to be explicitly constructed and linked to their neighbors.
| |||
Introduces a variable f and initializes all vertices and
neighbors with NULL.
| |||
| |||
Introduces a variable f, and initializes the vertices. The
neighbors are initialized with NULL.
| |||
| |||
Introduces a variable f, and initializes the vertices and
the neighbors.
|
|
| |||
Set vertex i to be v.
Precondition: . | ||||
|
| |||
Set neighbor i to be n.
Precondition: . | ||||
|
| Set vertices to NULL | ||
|
| Set neighbors to NULL | ||
|
| |||
|
|
|
|
Returns the vertex i of f.
Precondition: . |
|
| |
Returns the index of vertex v in f.
Precondition: v is a vertex of f | ||
|
| |
Returns true if v is a vertex of f. | ||
|
| |
Returns true if v is a vertex of f, and computes the index i of the vertex. |
The neighbor with index i is the neighbor which is opposite to the vertex with index i.
|
| |
Returns the neighbor i of f.
Precondition: . | ||
|
| |
Returns the index of face n.
Precondition: n is a neighbor of f. | ||
|
| |
Returns true if n is a neighbor of f. | ||
|
| |
Returns true if n is a neighbor of f, and compute the index i of the neighbor. |
|
|
Returns modulo
3. Precondition: . |
|
|
Returns modulo
3. Precondition: . |
|
| Returns a handle to the face. |
|
| Check the validity of an individual face: i.e. the pointers to the incident vertices and neighboring faces and call the is_valid() function of the base class to perform any geometric test provided by the user therein. |