Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
bool contiguous< triad >()
Data associated with quaternion type are contiguous.
void operator+=(const triad &t2)
Add the triad t2 to this triad.
void normalize()
Normalize each set axis vector to have a unit magnitude.
static vector orthogonal(const vector &v1, const vector &v2)
Return the vector orthogonal to the two provided.
static direction primaryDirection(const vector &v)
Return the primary direction of the vector v.
simpleMatrix< scalar > A(Nc)
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.
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
static const triad rootMin
friend Ostream & operator<<(Ostream &, const triad &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void orthogonalize()
Orthogonalize this triad so that it is ortho-normal.
void align(const vector &v)
Align this triad with the given vector v.
Ostream & operator<<(Ostream &, const edgeMesh &)
Representation of a 3D Cartesian coordinate system as a Vector of vectors.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
Template function to specify if the data of a type are contiguous.
friend Istream & operator>>(Istream &, triad &)
bool set() const
Are all the vector set.
Istream & operator>>(Istream &, edgeMesh &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void operator=(const Vector< vector > &)
static const triad rootMax