Assimp  v3.1.1 (June 2014)
o3dgc::Vec2< T > Class Template Reference

Vector dim 2. More...

Public Member Functions

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

Detailed Description

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

Vector dim 2.

Constructor & Destructor Documentation

◆ Vec2() [1/4]

template<typename T >
o3dgc::Vec2< T >::Vec2 ( )
inline

◆ Vec2() [2/4]

template<typename T >
o3dgc::Vec2< T >::Vec2 ( a)
inline

◆ Vec2() [3/4]

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

◆ Vec2() [4/4]

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

◆ ~Vec2()

template<typename T >
o3dgc::Vec2< T >::~Vec2 ( void  )
inline

Member Function Documentation

◆ GetNorm()

template<typename T >
double o3dgc::Vec2< T >::GetNorm ( ) const
inline

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

◆ operator*=()

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

◆ operator+()

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

◆ operator+=() [1/2]

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

◆ operator+=() [2/2]

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator-=() [1/2]

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

◆ operator-=() [2/2]

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

◆ operator/()

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

◆ operator/=()

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

◆ operator=()

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

◆ operator[]() [1/2]

template<typename T >
T& o3dgc::Vec2< T >::operator[] ( unsigned long  i)
inline

◆ operator[]() [2/2]

template<typename T >
const T& o3dgc::Vec2< T >::operator[] ( unsigned long  i) const
inline

◆ operator^()

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

◆ X() [1/2]

template<typename T >
T & o3dgc::Vec2< T >::X ( )
inline

◆ X() [2/2]

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

◆ Y() [1/2]

template<typename T >
T & o3dgc::Vec2< T >::Y ( )
inline

◆ Y() [2/2]

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

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