Referencia de la Clase moVector2< Real >

#include <moMathVector.h>

Diagrama de herencias de moVector2< Real >

moAbstract Lista de todos los miembros.

Métodos públicos

 moVector2 ()
 moVector2 (Real fX, Real fY)
 moVector2 (const Real *afTuple)
 moVector2 (const moVector2 &rkV)
 operator const Real * () const
 operator Real * ()
Real operator[] (int i) const
Real & operator[] (int i)
Real X () const
Real & X ()
Real Y () const
Real & Y ()
moVector2operator= (const moVector2 &rkV)
bool operator== (const moVector2 &rkV) const
bool operator!= (const moVector2 &rkV) const
bool operator< (const moVector2 &rkV) const
bool operator<= (const moVector2 &rkV) const
bool operator> (const moVector2 &rkV) const
bool operator>= (const moVector2 &rkV) const
moVector2 operator+ (const moVector2 &rkV) const
moVector2 operator- (const moVector2 &rkV) const
moVector2 operator * (Real fScalar) const
moVector2 operator/ (Real fScalar) const
moVector2 operator- () const
moVector2operator+= (const moVector2 &rkV)
moVector2operator-= (const moVector2 &rkV)
moVector2operator *= (Real fScalar)
moVector2operator/= (Real fScalar)
Real Length () const
Real SquaredLength () const
Real Dot (const moVector2 &rkV) const
Real Normalize ()
moVector2 Perp () const
 returns (y,-x)
moVector2 UnitPerp () const
 returns (y,-x)/sqrt(x*x+y*y)
Real DotPerp (const moVector2 &rkV) const
 returns DotPerp((x,y),(V.x,V.y)) = x*V.y - y*V.x
void GetBarycentrics (const moVector2 &rkV0, const moVector2 &rkV1, const moVector2 &rkV2, Real afBary[3]) const
Real Cosine (const moVector2< Real > &rkV)
Real Angle (const moVector2< Real > &rkV)

Métodos públicos estáticos

static void Orthonormalize (moVector2 &rkU, moVector2 &rkV)
static void GenerateOrthonormalBasis (moVector2 &rkU, moVector2 &rkV)
static void ComputeExtremes (int iVQuantity, const moVector2 *akPoint, moVector2 &rkMin, moVector2 &rkMax)

Atributos públicos estáticos

static const moVector2 ZERO
static const moVector2 UNIT_X
static const moVector2 UNIT_Y
static const moVector2 ONE

Métodos privados

int CompareArrays (const moVector2 &rkV) const

Atributos privados

Real m_afTuple [2]

template<class Real>
class moVector2< Real >


Documentación del constructor y destructor

template<class Real>
moVector2< Real >::moVector2  )  [inline]
 

template<class Real>
moVector2< Real >::moVector2 Real  fX,
Real  fY
[inline]
 

template<class Real>
moVector2< Real >::moVector2 const Real *  afTuple  )  [inline]
 

template<class Real>
moVector2< Real >::moVector2 const moVector2< Real > &  rkV  )  [inline]
 


Documentación de las funciones miembro

template<class Real>
Real moVector2< Real >::Angle const moVector2< Real > &  rkV  )  [inline]
 

template<class Real>
int moVector2< Real >::CompareArrays const moVector2< Real > &  rkV  )  const [inline, private]
 

template<class Real>
static void moVector2< Real >::ComputeExtremes int  iVQuantity,
const moVector2< Real > *  akPoint,
moVector2< Real > &  rkMin,
moVector2< Real > &  rkMax
[inline, static]
 

template<class Real>
Real moVector2< Real >::Cosine const moVector2< Real > &  rkV  )  [inline]
 

template<class Real>
Real moVector2< Real >::Dot const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
Real moVector2< Real >::DotPerp const moVector2< Real > &  rkV  )  const [inline]
 

returns DotPerp((x,y),(V.x,V.y)) = x*V.y - y*V.x

template<class Real>
static void moVector2< Real >::GenerateOrthonormalBasis moVector2< Real > &  rkU,
moVector2< Real > &  rkV
[inline, static]
 

template<class Real>
void moVector2< Real >::GetBarycentrics const moVector2< Real > &  rkV0,
const moVector2< Real > &  rkV1,
const moVector2< Real > &  rkV2,
Real  afBary[3]
const [inline]
 

template<class Real>
Real moVector2< Real >::Length  )  const [inline]
 

template<class Real>
Real moVector2< Real >::Normalize  )  [inline]
 

template<class Real>
moVector2 moVector2< Real >::operator * Real  fScalar  )  const [inline]
 

template<class Real>
moVector2& moVector2< Real >::operator *= Real  fScalar  )  [inline]
 

template<class Real>
moVector2< Real >::operator const Real *  )  const [inline]
 

template<class Real>
moVector2< Real >::operator Real *  )  [inline]
 

template<class Real>
bool moVector2< Real >::operator!= const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
moVector2 moVector2< Real >::operator+ const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
moVector2& moVector2< Real >::operator+= const moVector2< Real > &  rkV  )  [inline]
 

template<class Real>
moVector2 moVector2< Real >::operator-  )  const [inline]
 

template<class Real>
moVector2 moVector2< Real >::operator- const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
moVector2& moVector2< Real >::operator-= const moVector2< Real > &  rkV  )  [inline]
 

template<class Real>
moVector2 moVector2< Real >::operator/ Real  fScalar  )  const [inline]
 

template<class Real>
moVector2& moVector2< Real >::operator/= Real  fScalar  )  [inline]
 

template<class Real>
bool moVector2< Real >::operator< const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
bool moVector2< Real >::operator<= const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
moVector2& moVector2< Real >::operator= const moVector2< Real > &  rkV  )  [inline]
 

template<class Real>
bool moVector2< Real >::operator== const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
bool moVector2< Real >::operator> const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
bool moVector2< Real >::operator>= const moVector2< Real > &  rkV  )  const [inline]
 

template<class Real>
Real& moVector2< Real >::operator[] int  i  )  [inline]
 

template<class Real>
Real moVector2< Real >::operator[] int  i  )  const [inline]
 

template<class Real>
static void moVector2< Real >::Orthonormalize moVector2< Real > &  rkU,
moVector2< Real > &  rkV
[inline, static]
 

template<class Real>
moVector2 moVector2< Real >::Perp  )  const [inline]
 

returns (y,-x)

template<class Real>
Real moVector2< Real >::SquaredLength  )  const [inline]
 

template<class Real>
moVector2 moVector2< Real >::UnitPerp  )  const [inline]
 

returns (y,-x)/sqrt(x*x+y*y)

template<class Real>
Real& moVector2< Real >::X  )  [inline]
 

template<class Real>
Real moVector2< Real >::X  )  const [inline]
 

template<class Real>
Real& moVector2< Real >::Y  )  [inline]
 

template<class Real>
Real moVector2< Real >::Y  )  const [inline]
 


Documentación de los datos miembro

template<class Real>
Real moVector2< Real >::m_afTuple[2] [private]
 

template<class Real>
const moVector2 moVector2< Real >::ONE [static]
 

template<class Real>
const moVector2 moVector2< Real >::UNIT_X [static]
 

template<class Real>
const moVector2 moVector2< Real >::UNIT_Y [static]
 

template<class Real>
const moVector2 moVector2< Real >::ZERO [static]
 


La documentación para esta clase fué generada a partir del siguiente archivo:
Generado el Sun Jul 18 16:13:49 2010 para MOLDEO por  doxygen 1.4.6-NO