42 int n =
static_cast<int>( -(
fAngle-
Pi())/(2*
Pi()) );
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.
XYZVector operator()(const XYZVector &v) const
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Scalar Y() const
Cartesian Y, converting if necessary from internal coordinate system.
AxisVector Axis() const
accesss to rotation axis
Scalar Dot(const DisplacementVector3D< OtherCoords, Tag > &v) const
Return the scalar (dot) product of two displacement vectors.
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 Mag2() const
Magnitute squared ( r^2 in spherical coordinate)
Scalar Angle() const
access to rotation angle
void Rectify()
Re-adjust components to eliminate small deviations from the axis being a unit vector and angles out o...
Class describing a generic displacement vector in 3 dimensions.
Scalar Z() const
Cartesian Z, converting if necessary from internal coordinate system.
Namespace for new Math classes and functions.
unsigned int r2[N_CITIES]