It is defined by four vertices , , and . The orientation of a tetrahedron is the orientation of its four vertices. That means it is positive when is on the positive side of the plane defined by , and .
The tetrahedron itself splits the space in a positive and a negative side.
The boundary of a tetrahedron splits the space in two open regions, a bounded one and an unbounded one.
#include <CGAL/Tetrahedron_3.h>
| |||
introduces a tetrahedron t with vertices
, ,
and .
|
|
| Test for equality: two tetrahedra are equal, iff there exists a cyclic permutation of the vertices of , such that they are equal to the vertices of t. |
|
| Test for inequality. |
|
| returns the i'th vertex modulo 4 of t. |
|
| returns vertex(int i). |
|
| Tetrahedron t is degenerate, if the vertices are coplanar. |
|
|
|
|
| |
|
|
For convenience we provide the following boolean functions:
|
| |
|
| |
|
| |
|
| |
|
|
|
| returns a bounding box containing t. |
| ||
| ||
returns the tetrahedron obtained by applying on the three vertices of t. |