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

Inherits SPH::ImageShape.

Public Member Functions

 ImageShapeSphere (Real radius, Vec3d spacings, Vec3d center, const std::string &shape_name="ImageShapeSphere")
 
- Public Member Functions inherited from SPH::ImageShape
 ImageShape (const std::string &shape_name)
 
virtual bool checkContain (const Vec3d &input_pnt, bool BOUNDARY_INCLUDED=true) override
 
virtual Vec3d findClosestPoint (const Vec3d &input_pnt) override
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from SPH::ImageShape
virtual BoundingBox findBounds () override
 
- Protected Attributes inherited from SPH::ImageShape
Vec3d translation_
 
Mat3d rotation_
 
std::unique_ptr< ImageMHD< float, 3 > > image_
 
Real max_distance_
 
Real min_distance_
 
- 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 files: