5 #ifndef _MGUnit_vector_HH_
6 #define _MGUnit_vector_HH_
11 #include "mg/Vector.h"
MGUnit_vector UnitNormal(const MGPosition &P0, const MGPosition &P1, const MGPosition &P2)
MGVector & operator*=(double scale)
Vector of a general n space dimension.
Definition: Vector.h:26
MGVector & operator=(const MGVector &)
Assignment.
MG_DLL_DECLR friend std::ostream & operator<<(std::ostream &, const MGVector &)
String stream function.
MGVector & operator/=(double scale)
MGVector & operator+=(const MGVector &)
Represent a positional data.
Definition: Position.h:28
MGVector & operator-=(const MGVector &)
MGVector operator-() const
Define a unit vector, is a MGVector.
Definition: Unit_vector.h:17