SPHinXsys  alpha version
Public Member Functions | List of all members
SPH::ComplexShape Class Reference

Inherits SPH::BinaryShapes.

Public Member Functions

 ComplexShape (const std::string &shape_name)
 
template<typename... ConstructorArgs>
LevelSetShapedefineLevelSetShape (SPHBody *sph_body, const std::string &shape_name, ConstructorArgs &&...args)
 
- Public Member Functions inherited from SPH::BinaryShapes
 BinaryShapes (const std::string &shapes_name)
 
template<class ShapeType , typename... Args>
void add (Args &&...args)
 
template<class ShapeType , typename... Args>
void subtract (Args &&...args)
 
virtual bool isValid () override
 
virtual bool checkContain (const Vecd &pnt, bool BOUNDARY_INCLUDED=true) override
 
virtual Vecd findClosestPoint (const Vecd &input_pnt) override
 
ShapegetShapeByName (const std::string &shape_name)
 
ShapeAndOp * getShapeAndOpByName (const std::string &shape_name)
 
size_t getShapeIndexByName (const std::string &shape_name)
 
- Public Member Functions inherited from SPH::Shape
 Shape (const std::string &shape_name)
 
std::string getName ()
 
void setName (const std::string &name)
 
BoundingBox getBounds ()
 
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)
 

Additional Inherited Members

- Protected Member Functions inherited from SPH::BinaryShapes
virtual BoundingBox findBounds () override
 
- Protected Attributes inherited from SPH::BinaryShapes
UniquePtrKeepers< Shapeshapes_ptr_keeper_
 
StdVec< ShapeAndOp > shapes_and_ops_
 
- Protected Attributes inherited from SPH::Shape
std::string name_
 
BoundingBox bounding_box_
 
bool is_bounds_found_
 

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