69 return set(0) &&
set(1) &&
set(2);
98 scalar magV3 =
mag(v3);
138 os << static_cast<const Vector<vector>&>(t);
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 &)
void operator=(const Foam::zero)
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 > &)
const vector & operator[](const direction) const
bool set() const
Are all the vector set.