ITrafo Class Reference
Interface for generic geometry object coordiante transformation. More...
#include "Transformation.hpp"
Public Member Functions | |
| virtual int | trafoDim () const =0 |
| retuns the dimension of transformation. This info helps to optimize the actual transformation process of the geometry objects | |
| 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 | |
Detailed Description
Interface for generic geometry object coordiante transformation.
Member Function Documentation
|
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
|
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
