17#ifndef ROOT_MathX_GenVectorX_EulerAngles
18#define ROOT_MathX_GenVectorX_EulerAngles 1
91 template <
class OtherRotation>
100 template <
class OtherRotation>
261 template <
class CoordSystem,
class U>
270 template <
class CoordSystem,
class U>
281 template <
class CoordSystem>
295 template <
class ForeignVector>
306 template <
class AVector>
348 return *
this = (*this) *
r;
404#if !defined(ROOT_MATH_SYCL) && !defined(ROOT_MATH_CUDA)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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).
void SetTheta(Scalar theta)
Set Theta Euler angle // JMM 30 Jan.
void Invert()
Invert a rotation in place.
void SetComponents(IT begin, IT end)
Set the three Euler angles given a pair of pointers or iterators defining the beginning and end of an...
EulerAngles(IT begin, IT end)
Construct given a pair of pointers or iterators defining the beginning and end of an array of three S...
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
void GetComponents(Scalar &phi, Scalar &theta, Scalar &psi) const
Get the components phi, theta, psi into three Scalars.
void SetComponents(Scalar phi, Scalar theta, Scalar psi)
Set the components phi, theta, psi based on three Scalars.
EulerAngles()
Default constructor.
Scalar Psi() const
Return Psi Euler angle.
PositionVector3D< CoordSystem, U > operator()(const PositionVector3D< CoordSystem, U > &v) const
Rotation operation on a position vector in any coordinate system.
void SetPhi(Scalar phi)
Set Phi Euler angle // JMM 30 Jan.
void GetComponents(IT begin, IT end) const
Get the axis and then the angle into data specified by an iterator begin and another to the end of th...
void SetPsi(Scalar psi)
Set Psi Euler angle // JMM 30 Jan.
Scalar Phi() const
Return Phi Euler angle.
ForeignVector operator()(const ForeignVector &v) const
Rotation operation on an arbitrary vector v.
EulerAngles & operator*=(const R &r)
Post-Multiply (on right) by another rotation : T = T*R.
void GetComponents(IT begin) const
Get the axis and then the angle into data specified by an iterator begin.
bool operator==(const EulerAngles &rhs) const
Equality/inequality operators.
DisplacementVector3D< CoordSystem, U > operator()(const DisplacementVector3D< CoordSystem, U > &v) const
Rotation operation on a displacement vector in any coordinate system and tag.
EulerAngles Inverse() const
Return inverse of a rotation.
Scalar Theta() const
Return Theta Euler angle.
EulerAngles(Scalar phi, Scalar theta, Scalar psi)
Constructor from phi, theta and psi.
Scalar Distance(const R &r) const
Distance between two rotations.
EulerAngles(const OtherRotation &r)
Create from any other supported rotation (see gv_detail::convert )
EulerAngles & operator=(OtherRotation const &r)
Assign from any other rotation (see gv_detail::convert )
LorentzVector< CoordSystem > operator()(const LorentzVector< CoordSystem > &v) const
Rotation operation on a Lorentz vector in any 4D coordinate system.
bool operator!=(const EulerAngles &rhs) const
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.
double dist(Rotation3D const &r1, Rotation3D const &r2)
void convert(R1 const &, R2 const)
AxisAngle::Scalar Distance(const AxisAngle &r1, const R &r2)
Distance between two rotations.
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.