A cell of a triangulation gives access to its four vertices indexed 0, 1, 2, and 3 in positive orientation and to its four adjacent cells, also called neighbors. The neighbors are indexed in such a way that neighbor lies opposite to vertex .
In degenerate dimensions, cells are used to store faces of maximal dimension: (Section ).
#include <CGAL/Triangulation_cell_3.h>
| |||
Introduces a cell c and initializes all its vertices and
neighbors in such a way that tests on the handles for equality with
NULL will answer true.
| |||
| |||
Introduces a cell c, and initializes its vertices. The
neighbors are initialized so that tests on the handles for equality with
NULL will answer true.
| |||
| |||
Introduces a variable c, and initializes its vertices and neighbors.
|
|
| Sets all vertices so that tests on the handles for equality with NULL will answer true. | ||
|
| |||
Sets vertex i of c to be v. Precondition: | ||||
|
| |||
Sets vertices to the given vertices. | ||||
|
| Sets all neighbors so that tests on the handles for equality with NULL will answer true. | ||
|
| |||
Sets neighbor i to be n. Precondition: . | ||||
|
| |||
Sets neighbors to the given cells. |
|
|
Returns vertex i of c. Precondition: . |
|
| |
Returns the index of vertex v in c. Precondition: v is a vertex of c. | ||
|
| |
Returns true if v is a vertex of c. | ||
|
| |
Returns true if v is a vertex of c, and computes the index i of the vertex. | ||
|
| |
Returns neighbor i of c. Precondition: . | ||
|
| |
Returns the index corresponding to neighboring cell n. Precondition: n is a neighbor of c. | ||
|
| |
Returns true if n is a neighbor of c. | ||
|
| |
Returns true if n is a neighbor of c, and computes the index i of the neighbor. | ||
|
| Returns a handle to the cell. |