Public Member Functions

HPS_INLINE Vector_3DClean_Zeroes (F epsilon=F(1.0e-4))
 
HPS_INLINE Vector_3D Cross (Vector_3D const &v) const
 
Vector_3D< F > different_vector () const
 
HPS_INLINE F Dot (Vector_3D const &v) const
 
bool Equals (Vector_3D const &v, int in_tolerance=32) const
 
HPS_INLINE double Length () const
 
HPS_INLINE double Length2D () const
 
HPS_INLINE double LengthSquared () const
 
HPS_INLINE double LengthSquared2D () const
 
HPS_INLINE F Magnitude () const
 
HPS_INLINE F Manhattan () const
 
HPS_INLINE Vector_3DNormalize (bool check_range=false, F epsilon=Float_Traits< F >::Epsilon())
 
HPS_INLINE Vector_3DNormalize (F epsilon)
 
bool operator!= (Vector_3D const &v) const
 
Vector_3D const operator* (F s) const
 
Vector_3Doperator*= (F s)
 
Vector_3D const operator+ (Vector_3D const &v) const
 
Vector_3Doperator+= (Vector_3D const &v)
 
Vector_3D const operator- () const
 
Vector_3D const operator- (Vector_3D const &v) const
 
Vector_3Doperator-= (Vector_3D const &v)
 
Vector_3D const operator/ (F s) const
 
Vector_3Doperator/= (F s)
 
bool operator== (Vector_3D const &v) const
 
F & operator[] (size_t i)
 
F const & operator[] (size_t i) const
 
HPS_INLINE Vector_3D Scale (Vector_3D const &v) const
 
 Vector_3D (F v1, F v2, F v3)
 
template<typename D >
 Vector_3D (Vector_3D< D > const &that)
 
 Vector_3D (Point_3D< F > const &p)
 
 Vector_3D (Plane_3D< F > const &p)
 
 Vector_3D (Vector_2D< F > const &that)
 

Static Public Member Functions

static HPS_INLINE Vector_3D Unit ()
 
static HPS_INLINE Vector_3D XAxis ()
 
static HPS_INLINE Vector_3D YAxis ()
 
static HPS_INLINE Vector_3D ZAxis ()
 
static HPS_INLINE Vector_3D Zero ()
 

Public Attributes

x
 
y
 
z
 

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