Assimp  v2.0 (November 2010)
Public Member Functions | Public Attributes | List of all members
aiVector2t< T > Class Template Reference

Represents a two-dimensional vector. More...

Public Member Functions

 aiVector2t ()
 
 aiVector2t (TReal _x, TReal _y)
 
 aiVector2t (TReal _xyz)
 
 aiVector2t (const aiVector2t &o)
 
TReal Length () const
 
aiVector2tNormalize ()
 
template<typename TOther >
 operator aiVector2t< TOther > () const
 
bool operator!= (const aiVector2t &other) const
 
const aiVector2toperator*= (TReal f)
 
const aiVector2toperator+= (const aiVector2t &o)
 
const aiVector2toperator-= (const aiVector2t &o)
 
const aiVector2toperator/= (TReal f)
 
aiVector2toperator= (TReal f)
 
bool operator== (const aiVector2t &other) const
 
TReal operator[] (unsigned int i) const
 
TReal & operator[] (unsigned int i)
 
void Set (TReal pX, TReal pY)
 
TReal SquareLength () const
 
const aiVector2t SymMul (const aiVector2t &o)
 

Public Attributes

TReal x
 
TReal y
 

Detailed Description

template<typename T>
class aiVector2t< T >

Represents a two-dimensional vector.

Constructor & Destructor Documentation

template<typename T >
aiVector2t< T >::aiVector2t ( )
inline
template<typename T >
aiVector2t< T >::aiVector2t ( TReal  _x,
TReal  _y 
)
inline
template<typename T >
aiVector2t< T >::aiVector2t ( TReal  _xyz)
inlineexplicit
template<typename T >
aiVector2t< T >::aiVector2t ( const aiVector2t< T > &  o)
inline

Member Function Documentation

template<typename TReal >
TReal aiVector2t< TReal >::Length ( ) const
template<typename TReal >
aiVector2t< TReal > & aiVector2t< TReal >::Normalize ( )
template<typename TReal >
template<typename TOther >
aiVector2t< TReal >::operator aiVector2t< TOther > ( ) const
template<typename TReal >
bool aiVector2t< TReal >::operator!= ( const aiVector2t< T > &  other) const
template<typename TReal >
const aiVector2t< TReal > & aiVector2t< TReal >::operator*= ( TReal  f)
template<typename TReal >
const aiVector2t< TReal > & aiVector2t< TReal >::operator+= ( const aiVector2t< T > &  o)
template<typename TReal >
const aiVector2t< TReal > & aiVector2t< TReal >::operator-= ( const aiVector2t< T > &  o)
template<typename TReal >
const aiVector2t< TReal > & aiVector2t< TReal >::operator/= ( TReal  f)
template<typename TReal >
aiVector2t< TReal > & aiVector2t< TReal >::operator= ( TReal  f)
template<typename TReal >
bool aiVector2t< TReal >::operator== ( const aiVector2t< T > &  other) const
template<typename TReal >
TReal aiVector2t< TReal >::operator[] ( unsigned int  i) const
template<typename TReal >
TReal & aiVector2t< TReal >::operator[] ( unsigned int  i)
template<typename TReal >
void aiVector2t< TReal >::Set ( TReal  pX,
TReal  pY 
)
template<typename TReal >
TReal aiVector2t< TReal >::SquareLength ( ) const
template<typename TReal >
const aiVector2t< TReal > aiVector2t< TReal >::SymMul ( const aiVector2t< T > &  o)

Member Data Documentation

template<typename T >
TReal aiVector2t< T >::x
template<typename T >
TReal aiVector2t< T >::y

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