SPHinXsys
alpha version
|
A template shape in which coordinate transformation is applied before or/and after access the interface functions. More...
#include <transform_shape.h>
Inherits BaseShapeType.
Public Member Functions | |
template<typename... ConstructorArgs> | |
TransformShape (const Transformd &transformd, ConstructorArgs &&...args) | |
Transformd & | getTransform () |
void | setTransform (const Transformd &transformd) |
virtual bool | checkContain (const Vecd &input_pnt, bool BOUNDARY_INCLUDED=true) override |
virtual Vecd | findClosestPoint (const Vecd &input_pnt) override |
Protected Member Functions | |
virtual BoundingBox | findBounds () override |
Protected Attributes | |
Transformd | transformd_ |
A template shape in which coordinate transformation is applied before or/and after access the interface functions.
|
inlineexplicit |
template constructor for general shapes.
|
inline |
variable transform is introduced here