17 #ifndef SURGSIM_MATH_SURFACEMESHSHAPE_INL_H
18 #define SURGSIM_MATH_SURFACEMESHSHAPE_INL_H
25 template <
class VertexData,
class EdgeData,
class TriangleData>
28 double thickness) : m_thickness(thickness)
32 m_mesh = std::make_shared<SurgSim::DataStructures::TriangleMesh>(mesh);
41 #endif // SURGSIM_MATH_SURFACEMESHSHAPE_INL_H
Definition: DriveElementFromInputBehavior.cpp:27
bool isValid() const
Test if the TriangleMeshBase is valid (valid vertex Ids used in all MeshElements) ...
Definition: TriangleMeshBase-inl.h:194
#define SURGSIM_ASSERT(condition)
Assert that condition is true.
Definition: Assert.h:77
SurfaceMeshShape()
Constructor.
Definition: SurfaceMeshShape.cpp:32
void computeVolumeIntegrals()
Compute useful volume integrals based on the triangle mesh, which are used to get the volume ...
Definition: SurfaceMeshShape.cpp:90
Basic class for storing Triangle Meshes, handling basic vertex, edge, and triangle functionality...
Definition: TriangleMeshBase.h:58
std::shared_ptr< SurgSim::DataStructures::TriangleMesh > m_mesh
Collision mesh associated to this MeshShape.
Definition: SurfaceMeshShape.h:123