Workspace 6.21.5
|
Define a class for collision and penetration testing.
#include <Mesh/Geometry/collisions.h>
Public Member Functions | |
Collisions (double t) | |
double | getToleranceToLine () const |
double | getToleranceToPlane () const |
bool | pointInsideTetra (const Vector3d &p, const Vector3d &n0, const Vector3d &n1, const Vector3d &n2, const Vector3d &n3) const |
bool | pointInsideTetraNoTol (const Vector3d &p, const Vector3d &n0, const Vector3d &n1, const Vector3d &n2, const Vector3d &n3) const |
Collisions | ( | double | t | ) |
The constructor sets the tolerances to use for point-to-plane and point-to-line tests. The point-to-line tolerance is abused by also using it when determining if a point is inside the boundary of a face.
|
inline |
|
inline |
|
inline |