94 if (chordLength > 1) chordLength = 1;
95 return acos(chordLength);
100std::ostream & operator<< (std::ostream & os,
const Quaternion &
q) {
103 os <<
"\n{" <<
q.U() <<
" " <<
q.I()
104 <<
" " <<
q.J() <<
" " <<
q.K() <<
"}\n";
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
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).
Scalar Distance(const Quaternion &q) const
Distance between two rotations in Quaternion form Note: The rotation group is isomorphic to a 3-spher...
Quaternion()
Default constructor (identity rotation)
void Rectify()
Re-adjust components to eliminate small deviations from |Q| = 1 orthonormality.
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
Rotation class with the (3D) rotation represented by angles describing first a rotation of an angle p...
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.