A coordinateRotation defined in the z-x-y Euler convention. More...
#include <meshTools/EulerCoordinateRotation.H>
A coordinateRotation defined in the z-x-y Euler convention.
The 3 rotations are defined in the Euler convention (around Z, around X' and around Z'). For reference and illustration, see http://mathworld.wolfram.com/EulerAngles.html Note, however, that it is the reverse transformation (local->global) that is defined here.
coordinateRotation { typeEulerRotation degrees false; rotation(0 0 3.141592654); }
Definition at line 64 of file EulerCoordinateRotation.H.
Public Member Functions | |
TypeName ("EulerRotation") | |
Runtime type information.
| |
EulerCoordinateRotation () | |
Construct null.
| |
EulerCoordinateRotation (const vector &phiThetaPsi, const bool inDegrees=true) | |
Construct from rotation vector.
| |
EulerCoordinateRotation (const scalar phiAngle, const scalar thetaAngle, const scalar psiAngle, const bool inDegrees=true) | |
Construct from components of rotation vector.
| |
EulerCoordinateRotation (const dictionary &) | |
Construct from dictionary.
|
Construct null.
Definition at line 88 of file EulerCoordinateRotation.C.
EulerCoordinateRotation | ( | const vector & | phiThetaPsi, |
const bool | inDegrees = true
|
||
) |
Construct from rotation vector.
Definition at line 95 of file EulerCoordinateRotation.C.
References VectorSpace< Form, Cmpt, nCmpt >::component(), Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.
EulerCoordinateRotation | ( | const scalar | phiAngle, |
const scalar | thetaAngle, | ||
const scalar | psiAngle, | ||
const bool | inDegrees = true
|
||
) |
Construct from components of rotation vector.
Definition at line 113 of file EulerCoordinateRotation.C.
EulerCoordinateRotation | ( | const dictionary & | dict ) |
Construct from dictionary.
Definition at line 127 of file EulerCoordinateRotation.C.
References dictionary::lookup(), dictionary::lookupOrDefault(), Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.
TypeName | ( | "EulerRotation" | ) |
Runtime type information.