SPHinXsys  alpha version
Public Member Functions | Protected Attributes | List of all members
SPH::GeometricShape Class Reference

Inherits SPH::Shape.

Inherited by SPH::GeometricShapeBall, and SPH::GeometricShapeBox.

Public Member Functions

 GeometricShape (const std::string &shape_name)
 
virtual bool checkContain (const Vec3d &pnt, bool BOUNDARY_INCLUDED=true) override
 
virtual Vec3d findClosestPoint (const Vec3d &pnt) override
 
SimTK::ContactGeometry * getContactGeometry ()
 
- Public Member Functions inherited from SPH::Shape
 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)
 

Protected Attributes

SimTK::ContactGeometry * contact_geometry_
 
- Protected Attributes inherited from SPH::Shape
std::string name_
 
BoundingBox bounding_box_
 
bool is_bounds_found_
 

Additional Inherited Members

- Protected Member Functions inherited from SPH::Shape
virtual BoundingBox findBounds ()=0
 

The documentation for this class was generated from the following files: