40 if ( fTheta < 0 || fTheta >
Pi() ) {
106 if ( newPhi <= -
Pi()|| newPhi >
Pi() ) {
107 newPhi = newPhi - std::floor( newPhi/(2*
Pi()) +.5 ) * 2*
Pi();
130 os <<
"\n{phi: " <<
e.
Phi() <<
" theta: " <<
e.Theta()
131 <<
" psi: " <<
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).
EulerAngles()
Default constructor.
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
void Rectify()
Re-adjust components place angles in canonical ranges.
Scalar Phi() const
Return Phi Euler angle.
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 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...