A triangle defined by three point indices, starting at index 0. More...
Public Member Functions | |
Triangle_point_indices () | |
The default triangle has all three indices set to zero. More... |
|
Triangle_point_indices (Uint32 e1, Uint32 e2, Uint32 e3) | |
Constructs triangle from three point indices. More... |
|
Triangle_point_indices (const Triangle_point_indices_struct &other) | |
Constructs triangle from underlying storage class. More... |
|
Uint32 & | operator[] (Uint32 i) |
Returns the i -th point index, where 0 <= i <= 2. More... |
|
const Uint32 & | operator[] (Uint32 i) const |
Returns the i -th point index, where 0 <= i <= 2. More... |
|
int | compare (const Triangle_point_indices &other) const |
Compares two triangles lexicographically. More... |
|
bool | operator== (const Triangle_point_indices &other) const |
Equality comparison. More... |
|
bool | operator!= (const Triangle_point_indices &other) const |
Inequality comparison. More... |
|
bool | operator< (const Triangle_point_indices &other) const |
Returns true if *this is less than other . More... |
|
bool | operator<= (const Triangle_point_indices &other) const |
Returns true if *this is less than or equal to other . More... |
|
bool | operator> (const Triangle_point_indices &other) const |
Returns true if *this is greater than other . More... |
|
bool | operator>= (const Triangle_point_indices &other) const |
Returns true if *this is greater than or equal to other . More... |
|
A triangle defined by three point indices, starting at index 0.
|
inline |
The default triangle has all three indices set to zero.
|
inline |
Constructs triangle from three point indices.
|
inline |
Constructs triangle from underlying storage class.
|
inline |
Compares two triangles lexicographically.
*this
is less than other
, 0 if *this
is equal to other
, or +1 if *this
is greater than other
.
|
inline |
Inequality comparison.
|
inline |
Returns true
if *this
is less than other
.
|
inline |
Returns true
if *this
is less than or equal to other
.
|
inline |
Equality comparison.
|
inline |
Returns true
if *this
is greater than other
.
|
inline |
Returns true
if *this
is greater than or equal to other
.
Returns the i
-th point index, where 0 <= i
<= 2.