Public Member Functions

HPS_INLINE F Cross (Vector_2D const &v) const
HPS_INLINE F Dot (Vector_2D const &v) const
bool Equals (Vector_2D const &v, int in_tolerance=32) const
HPS_INLINE double Length () const
HPS_INLINE double LengthSquared () const
HPS_INLINE F Magnitude () const
HPS_INLINE F Manhattan () const
HPS_INLINE Vector_2DNormalize (bool check_range=false, F epsilon=Float_Traits< F >::Epsilon())
HPS_INLINE Vector_2DNormalize (F epsilon)
bool operator!= (Vector_2D const &v) const
Vector_2D const operator* (F s) const
Vector_2Doperator*= (F s)
Vector_2D const operator+ (Vector_2D const &v) const
Vector_2Doperator+= (Vector_2D const &v)
Vector_2D const operator- () const
Vector_2D const operator- (Vector_2D const &v) const
Vector_2Doperator-= (Vector_2D const &v)
Vector_2D const operator/ (F s) const
Vector_2Doperator/= (F s)
bool operator== (Vector_2D const &v) const
F & operator[] (size_t i)
F const & operator[] (size_t i) const
HPS_INLINE Vector_2D Scale (Vector_2D const &v) const
Vector_2D (F v1, F v2)
template<typename D >
 Vector_2D (Vector_2D< D > const &that)
Vector_2D (Vector_3D< F > const &that)
Vector_2D (Point_2D< F > const &p)
Vector_2D (Plane_2D< F > const &p)

Static Public Member Functions

static HPS_INLINE Vector_2D Unit ()
static HPS_INLINE Vector_2D XAxis ()
static HPS_INLINE Vector_2D YAxis ()
static HPS_INLINE Vector_2D Zero ()

Public Attributes


The documentation for this class was generated from the following file: