69 return set(0) &&
set(1) &&
set(2);
98 scalar magV3 =
mag(v3);
138 os << static_cast<const Vector<vector>&>(t);
const vector & operator[](const direction) const
bool set() const
Are all the vector set.
void operator=(const VectorSpace< Vector< Cmpt >, Cmpt, Ncmpts > &)
void operator=(const Vector< vector > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void normalize()
Normalize each set axis vector to have a unit magnitude.
Istream & operator>>(Istream &, directionInfo &)
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.
Ostream & operator<<(Ostream &, const ensightPart &)
dimensioned< scalar > mag(const dimensioned< Type > &)