17#ifndef ROOT_Math_GenVector_RotationX
18#define ROOT_Math_GenVector_RotationX 1
127 template <
class CoordSystem,
class U>
138 template <
class CoordSystem,
class U>
149 template <
class CoordSystem>
163 template <
class ForeignVector>
174 template <
class AVector>
199 ans.fAngle = (2.0 *
M_PI) * (
x + std::floor(.5-
x) );
246 os <<
" RotationX(" <<
r.Angle() <<
") ";
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
Option_t Option_t TPoint TPoint angle
Rotation class representing a 3D rotation about the X axis by the angle of rotation.
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
RotationX & operator*=(const RotationX &r)
Post-Multiply (on right) by another rotation : T = T*R.
void GetAngle(Scalar &angle) const
Get the angle.
void SetAngle(Scalar angle)
Set given the angle.
void GetComponents(Scalar &angle) const
void Invert()
Invert a rotation in place.
RotationX Inverse() const
Return inverse of a rotation.
RotationX(Scalar angle)
Construct from an angle.
DisplacementVector3D< CoordSystem, U > operator()(const DisplacementVector3D< CoordSystem, U > &v) const
Rotation operation on a cartesian vector.
bool operator!=(const RotationX &rhs) const
Scalar SinAngle() const
Sine or Cosine of the rotation angle.
bool operator==(const RotationX &rhs) const
Equality/inequality operators.
Scalar Angle() const
Angle of rotation.
void SetComponents(Scalar angle)
RotationX()
Default constructor (identity rotation)
void Rectify()
Rectify makes sure the angle is in (-pi,pi].
Namespace for new Math classes and functions.
double dist(Rotation3D const &r1, Rotation3D const &r2)
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
AxisAngle::Scalar Distance(const AxisAngle &r1, const R &r2)
Distance between two rotations.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...