vhdVector2 Class Reference

#include <vhdVector2.h>

List of all members.

Public Member Functions

 vhdVector2 ()
 vhdVector2 (vhtReal fX, vhtReal fY)
 vhdVector2 (vhtReal afCoordinate[2])
 vhdVector2 (const vhdVector2 &rkVector)
vhdVector2operator= (const vhdVector2 &rkVector)
bool operator== (const vhdVector2 &rkVector) const
bool operator!= (const vhdVector2 &rkVector) const
bool operator< (const vhdVector2 &rkVector) const
bool operator<= (const vhdVector2 &rkVector) const
bool operator> (const vhdVector2 &rkVector) const
bool operator>= (const vhdVector2 &rkVector) const
vhdVector2 operator+ (const vhdVector2 &rkVector) const
vhdVector2 operator- (const vhdVector2 &rkVector) const
vhdVector2 operator * (vhtReal fScalar) const
vhdVector2 operator/ (vhtReal fScalar) const
vhdVector2 operator- () const
vhdVector2operator+= (const vhdVector2 &rkVector)
vhdVector2operator-= (const vhdVector2 &rkVector)
vhdVector2operator *= (vhtReal fScalar)
vhdVector2operator/= (vhtReal fScalar)
vhtReal length () const
vhtReal dot (const vhdVector2 &rkVector) const
vhtReal unitize (vhtReal fTolerance=(vhtReal) 1e-06)
vhdVector2 cross () const
vhdVector2 unitCross () const
vhtReal squaredLength () const
vhtRealoperator[] (int i) const
 operator vhtReal * ()

Static Public Member Functions

static void orthonormalize (vhdVector2 akVector[])

Public Attributes

vhtReal x
vhtReal y

Static Public Attributes

static const vhdVector2 ZERO
static const vhdVector2 UNIT_X
static const vhdVector2 UNIT_Y
static vhtReal FUZZ

Friends

vhdVector2 operator * (vhtReal fScalar, const vhdVector2 &rkVector)


Constructor & Destructor Documentation

vhdVector2::vhdVector2 (  )  [inline]

vhdVector2::vhdVector2 ( vhtReal  fX,
vhtReal  fY 
)

vhdVector2::vhdVector2 ( vhtReal  afCoordinate[2]  ) 

vhdVector2::vhdVector2 ( const vhdVector2 rkVector  ) 


Member Function Documentation

vhdVector2 & vhdVector2::operator= ( const vhdVector2 rkVector  ) 

bool vhdVector2::operator== ( const vhdVector2 rkVector  )  const

bool vhdVector2::operator!= ( const vhdVector2 rkVector  )  const

bool vhdVector2::operator< ( const vhdVector2 rkVector  )  const

bool vhdVector2::operator<= ( const vhdVector2 rkVector  )  const

bool vhdVector2::operator> ( const vhdVector2 rkVector  )  const

bool vhdVector2::operator>= ( const vhdVector2 rkVector  )  const

vhdVector2 vhdVector2::operator+ ( const vhdVector2 rkVector  )  const

vhdVector2 vhdVector2::operator- ( const vhdVector2 rkVector  )  const

vhdVector2 vhdVector2::operator * ( vhtReal  fScalar  )  const

vhdVector2 vhdVector2::operator/ ( vhtReal  fScalar  )  const

vhdVector2 vhdVector2::operator- (  )  const

vhdVector2 & vhdVector2::operator+= ( const vhdVector2 rkVector  ) 

vhdVector2 & vhdVector2::operator-= ( const vhdVector2 rkVector  ) 

vhdVector2 & vhdVector2::operator *= ( vhtReal  fScalar  ) 

vhdVector2 & vhdVector2::operator/= ( vhtReal  fScalar  ) 

vhtReal vhdVector2::length (  )  const

vhtReal vhdVector2::dot ( const vhdVector2 rkVector  )  const

vhtReal vhdVector2::unitize ( vhtReal  fTolerance = (vhtReal) 1e-06  ) 

vhdVector2 vhdVector2::cross (  )  const

vhdVector2 vhdVector2::unitCross (  )  const

void vhdVector2::orthonormalize ( vhdVector2  akVector[]  )  [static]

vhtReal vhdVector2::squaredLength (  )  const [inline]

vhtReal& vhdVector2::operator[] ( int  i  )  const [inline]

vhdVector2::operator vhtReal * (  )  [inline]


Friends And Related Function Documentation

vhdVector2 operator * ( vhtReal  fScalar,
const vhdVector2 rkVector 
) [friend]


Member Data Documentation

vhtReal vhdVector2::x

vhtReal vhdVector2::y

const vhdVector2 vhdVector2::ZERO [static]

const vhdVector2 vhdVector2::UNIT_X [static]

const vhdVector2 vhdVector2::UNIT_Y [static]

vhtReal vhdVector2::FUZZ [static]


Generated on Thu Jan 18 10:06:27 2007 for vhdPLUS by  doxygen 1.5.1-p1