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.
|
|
| |||
Sets vertex i to be v. Precondition: . | ||||
|
| |||
Sets neighbor i to be n. Precondition: . | ||||
|
| Sets vertices to NULL | ||
|
| Sets 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 the index of the face f as a neighbor of its neighbor f.neighbor(i), or equivalently the index of the vertex opposite to f in f.neighbor(i). | ||
|
| |
Returns the vertex of f.neighbor(i) which is opposite to f. |
|
|
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. |