| |
introduces a triangle t with vertices p, q and r.
|
|
| Test for equality: two triangles t and t2 are equal, iff there exists a cyclic permutation of the vertices of t2, such that they are equal to the vertices of t. |
|
| Test for inequality. |
|
| returns the i'th vertex modulo 3 of t. |
|
| returns vertex(int i). |
|
| returns the supporting plane of t, with same orientation. |
|
| t is degenerate if its vertices are collinear. |
|
| A point is on t, if it is on a vertex, an edge or the face of t. |
|
| returns a square of the area of t. |
|
| returns a bounding box containing t. |
|
| |
returns the triangle obtained by applying at on the three vertices of t. |