MeshKernel
|
A composition of translation and rotation transformations. More...
#include <MeshTransformation.hpp>
Public Member Functions | |
RigidBodyTransformation ()=default | |
Default constructor, default is no transformation. | |
Projection | TransformationProjection () const |
Get the projection required for the transformation. | |
void | identity () |
Reset transformation to identity transformation (i.e. no transformation) | |
void | compose (const Rotation &rot) |
Compose rotation and transformation object. More... | |
void | compose (const Translation &trans) |
Compose translation and transformation object. More... | |
const Rotation & | rotation () const |
Get the current rotation. | |
const Translation & | translation () const |
Get the current translation. | |
Point | operator() (const Point &pnt) const |
Apply the transformation to a point in Cartesian coordinate system. | |
Vector | operator() (const Vector &vec) const |
Apply the transformation to a vector in Cartesian coordinate system. | |
A composition of translation and rotation transformations.
|
inline |
Compose rotation and transformation object.
Will be applied: rot (transformation).
|
inline |
Compose translation and transformation object.
Will be applied: translation (transformation).