41 if ( fTheta < 0 || fTheta >
Pi() ) {
107 if ( newPhi <= -
Pi()|| newPhi >
Pi() ) {
131 os <<
"\n{phi: " <<
e.Phi() <<
" theta: " <<
e.Theta()
132 <<
" 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.
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.
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
AxisAngle operator*(RotationX const &r1, AxisAngle const &r2)
Multiplication of an axial rotation by an AxisAngle.