Assimp  v3.0 (July 2012)
Public Member Functions | Public Attributes
aiVector2t< TReal > Class Template Reference

Represents a two-dimensional vector. More...

List of all members.

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 TReal>
class aiVector2t< TReal >

Represents a two-dimensional vector.


Constructor & Destructor Documentation

template<typename TReal>
aiVector2t< TReal >::aiVector2t ( )
inline
template<typename TReal>
aiVector2t< TReal >::aiVector2t ( TReal  _x,
TReal  _y 
)
inline
template<typename TReal>
aiVector2t< TReal >::aiVector2t ( TReal  _xyz)
inlineexplicit
template<typename TReal>
aiVector2t< TReal >::aiVector2t ( const aiVector2t< TReal > &  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< TReal > &  other) const
template<typename TReal>
const aiVector2t< TReal > & aiVector2t< TReal >::operator*= ( TReal  f)
template<typename TReal >
const aiVector2t< TReal > & aiVector2t< TReal >::operator+= ( const aiVector2t< TReal > &  o)
template<typename TReal >
const aiVector2t< TReal > & aiVector2t< TReal >::operator-= ( const aiVector2t< TReal > &  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< TReal > &  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< TReal > &  o)

Member Data Documentation

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

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