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