MeshKernel
Public Member Functions | List of all members
meshkernel::RigidBodyTransformation Class Reference

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 Rotationrotation () const
 Get the current rotation.
 
const Translationtranslation () 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.
 

Detailed Description

A composition of translation and rotation transformations.

Member Function Documentation

◆ compose() [1/2]

void meshkernel::RigidBodyTransformation::compose ( const Rotation rot)
inline

Compose rotation and transformation object.

Will be applied: rot (transformation).

◆ compose() [2/2]

void meshkernel::RigidBodyTransformation::compose ( const Translation trans)
inline

Compose translation and transformation object.

Will be applied: translation (transformation).


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