1 #ifndef PENETRATION_DEPTH_H 2 #define PENETRATION_DEPTH_H 4 #include <KrisLibrary/meshing/TriMeshTopology.h> 5 #include <KrisLibrary/errors.h> 28 enum VertexClass { Unvisited=0, Fringe=1, Computed=2, Outside=3 };
35 const TriMeshWithTopology &m1;
37 std::vector<VertexClass> vertexClass;
38 std::vector<Real> depth;
39 std::vector<Vector3> normal;
40 std::vector<int> fringe;
A 3D vector class.
Definition: math3d/primitives.h:136
A triangle mesh that contains connectivity relations between vertices and triangles.
Definition: TriMeshTopology.h:31
Contains all the definitions in the Math3D package.
Definition: AnyGeometry.h:13
Uses a propagation method to calculate an approximate penetration distance of mesh m1 inside m2...
Definition: PenetrationDepth.h:22
A basic triangle mesh.
Definition: TriMesh.h:41
Contains all definitions in the Geometry package.
Definition: AnyGeometry.cpp:26