SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SPH::TransformShape< BaseShapeType > Class Template Reference

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)
 
TransformdgetTransform ()
 
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_
 

Detailed Description

template<class BaseShapeType>
class SPH::TransformShape< BaseShapeType >

A template shape in which coordinate transformation is applied before or/and after access the interface functions.

Constructor & Destructor Documentation

◆ TransformShape()

template<class BaseShapeType>
template<typename... ConstructorArgs>
SPH::TransformShape< BaseShapeType >::TransformShape ( const Transformd transformd,
ConstructorArgs &&...  args 
)
inlineexplicit

template constructor for general shapes.

Member Function Documentation

◆ getTransform()

template<class BaseShapeType>
Transformd& SPH::TransformShape< BaseShapeType >::getTransform ( )
inline

variable transform is introduced here


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