106 inline bool set(
const direction d)
const;
109 inline bool set()
const;
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
friend Istream & operator>>(Istream &, triad &)
void align(const vector &v)
Align this triad with the given vector v.
void operator=(const Vector< vector > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Template function to specify if the data of a type are contiguous.
void orthogonalise()
Orthogonalise this triad so that it is ortho-normal.
Istream & operator>>(Istream &, directionInfo &)
triad sortxyz() const
Sort the axes such that they are closest to the x, y and z axes.
Quaternion class used to perform rotations in 3D space.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static direction primaryDirection(const vector &v)
Return the primary direction of the vector v.
static vector orthogonal(const vector &v1, const vector &v2)
Return the vector orthogonal to the two provided.
Representation of a 3D Cartesian coordinate system as a Vector of vectors.
void operator+=(const triad &t2)
Add the triad t2 to this triad.
void normalise()
Normalise each set axis vector to have a unit magnitude.
friend Ostream & operator<<(Ostream &, const triad &)
Ostream & operator<<(Ostream &, const ensightPart &)
bool contiguous< triad >()
Data associated with quaternion type are contiguous.