CGAL 4.10.1 - 3D Periodic Triangulations
|
A refinement of the concept TriangulationDSCellBase_3
which adds an API for offsets.
At the base level (see Sections Software Design and Software Design), a cell stores handles to its four vertices and to its four neighbor cells. The vertices and neighbors are indexed 0, 1, 2 and 3. Neighbor i
lies opposite to vertex i
.
For periodic triangulation the cell base class needs to additionally store an offset for each vertex. Only the last three bits of each integer are required to be stored. The remaining part does not contain any information.
Access Functions | |
int | offset (int i) const |
Returns the offset of vertex i . More... | |
Setting | |
void | set_offsets (int off0, int off1, int off2, int off3) |
Sets the vertex offsets according to off0 to off3 . | |
int Periodic_3TriangulationDSCellBase_3::offset | ( | int | i) | const |
Returns the offset of vertex i
.