25 template <
typename Real>
59 template <
typename Real>
68 template <
typename Real>
78 template <
typename Real>
81 for (
int i = 0; i < 4; ++i)
87 template <
typename Real>
117 template <
typename Real>
131 Real det =
Dot(edge10, plane[3].normal);
135 for (
int i = 0; i < 4; ++i)
141 for (
int i = 0; i < 4; ++i)
147 template <
typename Real>
150 return v[0] == tetrahedron.
v[0]
151 &&
v[1] == tetrahedron.
v[1]
152 &&
v[2] == tetrahedron.
v[2]
153 &&
v[3] == tetrahedron.
v[3];
156 template <
typename Real>
162 template <
typename Real>
165 for (
int i = 0; i < 4; ++i)
167 if (
v[i] < tetrahedron.
v[i])
172 if (
v[i] > tetrahedron.
v[i])
181 template <
typename Real>
187 template <
typename Real>
193 template <
typename Real>
Vector< N, Real > UnitCross(Vector< N, Real > const &v0, Vector< N, Real > const &v1, bool robust=false)
bool operator<(Tetrahedron3 const &tetrahedron) const
void GetFaceIndices(int face, int index[3]) const
bool operator>=(Tetrahedron3 const &tetrahedron) const
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
GLfloat GLfloat GLfloat GLfloat v3
bool operator>(Tetrahedron3 const &tetrahedron) const
bool operator<=(Tetrahedron3 const &tetrahedron) const
GLfloat GLfloat GLfloat v2
bool operator==(Tetrahedron3 const &tetrahedron) const
void GetPlanes(Plane3< Real > plane[4]) const
GLenum GLuint GLint GLenum face
static Vector Unit(int d)
bool operator!=(Tetrahedron3 const &tetrahedron) const