SPHinXsys
alpha version
|
Shape is the base class for all geometries. More...
Go to the source code of this file.
Classes | |
class | SPH::Shape |
Base class for all volumetric geometries Note that checkContain and findClosest point are basic function, They should not call other functions in shape. More... | |
class | SPH::BinaryShapes |
a collections of shapes with binary operations This class so that it has ownership of all shapes by using a unique pointer vector. In this way, add or subtract a shape will call the shape's constructor other than passing the shape pointer. More... | |
class | SPH::Edge< InEdgeType, OutEdgeType > |
template base class of linear structure only with topology information. Note that a edge is defined together with a structure which is composed of edges. Such structure should have an interface function ContainerSize() returning the curent total amount of edges. More... | |
Namespaces | |
SPH | |
Typedefs | |
using | SPH::ShapeAndOp = std::pair< Shape *, ShapeBooleanOps > |
Enumerations | |
enum | ShapeBooleanOps { add, sub, sym_diff, intersect } |
Shape is the base class for all geometries.
Several pure virtual functions are defined here. (a) closest point on surface: to find the closest point on shape surface to a given point. (b) find the lower and upper bounds.