|
MeshKernel
|
Apply a translation transformation to a point or a vector. More...
#include <MeshTransformation.hpp>
Public Member Functions | |
| Translation ()=default | |
| Default constructor, default is no translation. | |
| Translation (const Vector &trans) | |
| Construct with user defined translation. | |
| Projection | TransformationProjection () const |
| Get the projection required for the translation. | |
| void | identity () |
| Reset translation to identity translation (i.e. no translation) | |
| void | reset (const Vector &trans) |
| Reset the translation to a new translation quantity. | |
| const Vector & | vector () const |
| Get the current defined translation vector. | |
| Translation | compose (const Translation &trans) const |
| Compose two translation objects. | |
| Point | operator() (const Point &pnt) const |
| Apply the translation to a point in Cartesian coordinate system. | |
| Vector | operator() (const Vector &vec) const |
| Apply the translation to a vector in Cartesian coordinate system. | |
Apply a translation transformation to a point or a vector.