Go to the documentation of this file.
49 operator[](primaryDirection(pa)) = pa;
63 return operator[](d)[0] < GREAT;
69 return set(0) && set(1) && set(2);
98 scalar magV3 =
mag(v3);
113 if (set(0)) operator[](0) /=
mag(
operator[](0));
114 if (set(1)) operator[](1) /=
mag(
operator[](1));
115 if (set(2)) operator[](2) /=
mag(
operator[](2));
138 os << static_cast<const Vector<vector>&>(t);
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.
dimensioned< scalar > mag(const dimensioned< Type > &)
static direction primaryDirection(const vector &v)
Return the primary direction of the vector v.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Ostream & operator<<(Ostream &, const edgeMesh &)
Representation of a 3D Cartesian coordinate system as a Vector of vectors.
void operator=(const VectorSpace< Form, Cmpt, nCmpt > &)
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
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 > &)