Navigation: Up, Table of Contents, Bibliography, Index, Title Page
This class defines operations on the indices of vertices and neighbors within a cell. These operations are used in Triangulation_3.h, Triangulation_data_structure_3.h, Triangulation_ds_cell_3.h, Triangulation_ds_circulators_3.h. These classes inherit from Triangulation_utils_3 so that they can use its methods.

unsigned int next_around_edge ( unsigned int i, unsigned int j)
In dimension 3, index of the neighbor n that is next to the current cell, when turning positively around an oriented edge whose endpoints are indexed i and j. According to the usual numbering of vertices and neighbors in a given cell, it is also the index of the vertex opposite to this neighbor n. (see Figure reference).
Precondition: ( i < 4 ) && ( j < 4 ) && ( i != j ).

unsigned int ccw ( unsigned int i)
Has a meaning only in dimension 2.
Computes the index of the vertex that is next to the vertex numbered i in counterclockwise direction. (see Figure reference).
Precondition: i<3.

unsigned int cw ( unsigned int i)
Same for clockwise.

Figure:  Operations on indices.

Operations on indices


Next: Class declaration of Triangulation_3<Traits,Tds>
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.