Interface for generic geometry object coordiante transformation.
More...
#include "Transformation.hpp"
|
| virtual int | trafoDim () const =0 |
| | retuns the dimension of transformation. This info helps to optimize the actual transformation process of the geometry objects More...
|
| |
| virtual void | transform (double &x, double &y, double &z, bool inv=false) const =0 |
| | performs coordiante transformation please note that coordinates must not be changed if not effected by the transformation More...
|
| |
Interface for generic geometry object coordiante transformation.
◆ trafoDim()
| virtual int trafoDim |
( |
| ) |
const |
|
pure virtual |
retuns the dimension of transformation. This info helps to optimize the actual transformation process of the geometry objects
- Returns
- 1 if only z values are changed
-
2 for 2d transformations
-
3 if all coordinate values may be changed
◆ transform()
| virtual void transform |
( |
double & |
x, |
|
|
double & |
y, |
|
|
double & |
z, |
|
|
bool |
inv = false |
|
) |
| const |
|
pure virtual |
performs coordiante transformation please note that coordinates must not be changed if not effected by the transformation
- Parameters
-
| [in,out] | x | x-coordinates |
| [in,out] | y | y-coordinates |
| [in,out] | z | z-coordinates |
| [in] | inv | inversion flag if transformation should be inverted |