89 if ( newPhi <= -
Pi()|| newPhi >
Pi() ) {
90 newPhi = newPhi - std::floor( newPhi/(2*
Pi()) +.5 ) * 2*
Pi();
115 if ( theta2 < 0 || theta2 >
Pi() ) {
116 Scalar t = theta2 - std::floor( theta2/(2*
Pi() ) ) * 2*
Pi();
153 os <<
"\n{phi(Z angle): " <<
e.Phi() <<
" theta(Y angle): " <<
e.Theta()
154 <<
" psi(X angle): " <<
e.Psi() <<
"}\n";
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
EulerAngles class describing rotation as three angles (Euler Angles).
Rotation class with the (3D) rotation represented by a unit quaternion (u, i, j, k).
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
Rotation class representing a 3D rotation about the X axis by the angle of rotation.
Rotation class representing a 3D rotation about the Y axis by the angle of rotation.
Rotation class with the (3D) rotation represented by angles describing first a rotation of an angle p...
RotationZYX()
Default constructor.
void Rectify()
Re-adjust components place angles in canonical ranges.
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
void Invert()
Invert a rotation in place.
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
Namespace for new Math classes and functions.
AxisAngle operator*(RotationX const &r1, AxisAngle const &r2)
Multiplication of an axial rotation by an AxisAngle.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...