Inherits SPH::Shape.
Inherited by SPH::TriangleMeshShapeBrick, SPH::TriangleMeshShapeCylinder, SPH::TriangleMeshShapeSphere, and SPH::TriangleMeshShapeSTL.
|
| TriangleMeshShape (const std::string &shape_name, const SimTK::PolygonalMesh *mesh=nullptr) |
|
virtual bool | checkContain (const Vec3d &pnt, bool BOUNDARY_INCLUDED=true) override |
|
virtual Vec3d | findClosestPoint (const Vec3d &input_pnt) override |
|
SimTK::ContactGeometry::TriangleMesh * | getTriangleMesh () |
|
| Shape (const std::string &shape_name) |
|
std::string | getName () |
|
void | setName (const std::string &name) |
|
BoundingBox | getBounds () |
|
virtual bool | isValid () |
|
virtual bool | checkContain (const Vecd &pnt, bool BOUNDARY_INCLUDED=true)=0 |
|
virtual Vecd | findClosestPoint (const Vecd &input_pnt)=0 |
|
bool | checkNotFar (const Vecd &input_pnt, Real threshold) |
|
bool | checkNearSurface (const Vecd &input_pnt, Real threshold) |
|
Real | findSignedDistance (const Vecd &input_pnt) |
|
Vecd | findNormalDirection (const Vecd &input_pnt) |
|
|
SimTK::ContactGeometry::TriangleMesh * | generateTriangleMesh (const SimTK::PolygonalMesh &poly_mesh) |
|
virtual BoundingBox | findBounds () override |
|
|
SimTK::ContactGeometry::TriangleMesh * | triangle_mesh_ |
|
std::string | name_ |
|
BoundingBox | bounding_box_ |
|
bool | is_bounds_found_ |
|
◆ checkContain()
bool SPH::TriangleMeshShape::checkContain |
( |
const Vec3d & |
pnt, |
|
|
bool |
BOUNDARY_INCLUDED = true |
|
) |
| |
|
overridevirtual |
go throught the neighbor faces.
The documentation for this class was generated from the following files:
- SPHINXsys/src/for_3D_build/geometries/triangle_mesh_shape.h
- SPHINXsys/src/for_3D_build/geometries/triangle_mesh_shape.cpp