Public Member Functions |
| TriangleT & | operator= (const TriangleT &t) |
| | Assignment.
|
| const T & | operator[] (size_t n) const |
| | Returns n-th component of the triangle.
|
| T & | operator[] (size_t n) |
| | Returns n-th component of the triangle.
|
| void | Set (const T &_a, const T &_b, const T &_c) |
| | Set the values.
|
| | TriangleT () |
| | Empty default constructor.
|
| | TriangleT (const T &_a, const T &_b, const T &_c) |
| | Convenience constructor, builds a triangle with initializers.
|
| | TriangleT (const TriangleT &t) |
| | Copy constructor.
|
template<typename T>
struct CS::TriangleT< T >
A templated triangle.
Note that this structure is only sensible if used in combination with a vertex or edge table. 'a', 'b', and 'c' are then indices in that table (either vertices or edges).
Definition at line 39 of file tri.h.