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";
Scalar Phi() const
Return Phi Euler angle.
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
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).
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
Scalar Angle() const
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 X axis by the angle of rotation.
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
Scalar Theta() const
Return Theta Euler angle.
EulerAngles()
Default constructor.
EulerAngles class describing rotation as three angles (Euler Angles).
AxisAngle operator*(RotationX const &r1, AxisAngle const &r2)
Multiplication of an axial rotation by an AxisAngle.
Scalar Psi() const
Return Psi Euler angle.