98 if (newPhi <= -
Pi() || newPhi >
Pi()) {
126 if (theta2 < 0 || theta2 >
Pi()) {
131 theta2 = 2 *
Pi() - t;
159#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
167 os <<
"\n{phi(Z angle): " <<
e.Phi() <<
" theta(Y angle): " <<
e.Theta() <<
" psi(X angle): " <<
e.Psi()
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...
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
RotationZYX()
Default constructor.
void Invert()
Invert a rotation in place.
void Rectify()
Re-adjust components place angles in canonical ranges.
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
Scalar math_floor(Scalar x)
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.