VHACD::Vec2< T > Class Template Reference

Vector dim 2. More...

#include <vhacdVector.h>

List of all members.

Public Member Functions

GetNorm () const
void Normalize ()
Vec2 operator* (T rhs) const
operator* (const Vec2 &rhs) const
void operator*= (T a)
Vec2 operator+ (const Vec2 &rhs) const
void operator+= (T a)
void operator+= (const Vec2 &rhs)
Vec2 operator- () const
Vec2 operator- (const Vec2 &rhs) const
void operator-= (T a)
void operator-= (const Vec2 &rhs)
Vec2 operator/ (T rhs) const
void operator/= (T a)
void operator= (const Vec2 &rhs)
const T & operator[] (size_t i) const
T & operator[] (size_t i)
operator^ (const Vec2 &rhs) const
 Vec2 (const Vec2 &rhs)
 Vec2 (T x, T y)
 Vec2 (T a)
 Vec2 ()
const T & X () const
T & X ()
const T & Y () const
T & Y ()
 ~Vec2 (void)


Detailed Description

template<typename T>
class VHACD::Vec2< T >

Vector dim 2.

Constructor & Destructor Documentation

template<typename T >
VHACD::Vec2< T >::Vec2 (  ) 

template<typename T >
VHACD::Vec2< T >::Vec2 ( a  ) 

template<typename T >
VHACD::Vec2< T >::Vec2 ( x,
y 
)

template<typename T >
VHACD::Vec2< T >::Vec2 ( const Vec2< T > &  rhs  ) 

template<typename T >
VHACD::Vec2< T >::~Vec2 ( void   ) 


Member Function Documentation

template<typename T >
T VHACD::Vec2< T >::GetNorm (  )  const

template<typename T >
void VHACD::Vec2< T >::Normalize (  ) 

template<typename T >
Vec2 VHACD::Vec2< T >::operator* ( rhs  )  const

template<typename T >
T VHACD::Vec2< T >::operator* ( const Vec2< T > &  rhs  )  const

template<typename T >
void VHACD::Vec2< T >::operator*= ( a  ) 

template<typename T >
Vec2 VHACD::Vec2< T >::operator+ ( const Vec2< T > &  rhs  )  const

template<typename T >
void VHACD::Vec2< T >::operator+= ( a  ) 

template<typename T >
void VHACD::Vec2< T >::operator+= ( const Vec2< T > &  rhs  ) 

template<typename T >
Vec2 VHACD::Vec2< T >::operator- (  )  const

template<typename T >
Vec2 VHACD::Vec2< T >::operator- ( const Vec2< T > &  rhs  )  const

template<typename T >
void VHACD::Vec2< T >::operator-= ( a  ) 

template<typename T >
void VHACD::Vec2< T >::operator-= ( const Vec2< T > &  rhs  ) 

template<typename T >
Vec2 VHACD::Vec2< T >::operator/ ( rhs  )  const

template<typename T >
void VHACD::Vec2< T >::operator/= ( a  ) 

template<typename T >
void VHACD::Vec2< T >::operator= ( const Vec2< T > &  rhs  ) 

template<typename T >
const T& VHACD::Vec2< T >::operator[] ( size_t  i  )  const [inline]

template<typename T >
T& VHACD::Vec2< T >::operator[] ( size_t  i  )  [inline]

template<typename T >
T VHACD::Vec2< T >::operator^ ( const Vec2< T > &  rhs  )  const

template<typename T >
const T& VHACD::Vec2< T >::X (  )  const

template<typename T >
T& VHACD::Vec2< T >::X (  ) 

template<typename T >
const T& VHACD::Vec2< T >::Y (  )  const

template<typename T >
T& VHACD::Vec2< T >::Y (  ) 


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