42 int n =
static_cast<int>( -(
fAngle-
Pi())/(2*
Pi()) );
74DisplacementVector3D< Cartesian3D<double> >
76operator() (
const DisplacementVector3D< Cartesian3D<double> > &
v)
const
81 return DisplacementVector3D< Cartesian3D<double> >
94 os <<
"\n" <<
a.Axis() <<
" " <<
a.Angle() <<
"\n";
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
void Rectify()
Re-adjust components to eliminate small deviations from the axis being a unit vector and angles out o...
XYZVector operator()(const XYZVector &v) const
Scalar X() const
Cartesian X, converting if necessary from internal coordinate system.
Scalar Y() const
Cartesian Y, converting if necessary from internal coordinate system.
DisplacementVector3D< CoordSystem, Tag > & SetCoordinates(const Scalar src[])
Set internal data based on a C-style array of 3 Scalar numbers.
Scalar Mag2() const
Magnitute squared ( r^2 in spherical coordinate)
Scalar Z() const
Cartesian Z, converting if necessary from internal coordinate system.
Scalar Dot(const DisplacementVector3D< OtherCoords, Tag > &v) const
Return the scalar (dot) product of two displacement vectors.
Namespace for new Math classes and functions.
std::ostream & operator<<(std::ostream &os, const AxisAngle &a)
Stream Output and Input.
Namespace for new ROOT classes and functions.
static constexpr double s