libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moMathVector.h>
Public Member Functions | |
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 () |
moVector2 & | operator= (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 |
moVector2 & | operator+= (const moVector2 &rkV) |
moVector2 & | operator-= (const moVector2 &rkV) |
moVector2 & | operator*= (Real fScalar) |
moVector2 & | operator/= (Real fScalar) |
Real | Length () const |
Real | SquaredLength () const |
Real | Dot (const moVector2 &rkV) const |
Real | Normalize () |
moVector2 | Perp () const |
returns (y,-x) More... | |
moVector2 | UnitPerp () const |
returns (y,-x)/sqrt(x*x+y*y) More... | |
Real | DotPerp (const moVector2 &rkV) const |
returns DotPerp((x,y),(V.x,V.y)) = x*V.y - y*V.x More... | |
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) |
template<> | |
const moVector2< MOlong > | UNIT_Y (0, 1) |
template<> | |
const moVector2< MOlong > | ONE (1, 1) |
template<> | |
const moVector2< MOdouble > | ZERO (0.0, 0.0) |
template<> | |
const moVector2< MOdouble > | UNIT_X (1.0, 0.0) |
template<> | |
const moVector2< MOdouble > | UNIT_Y (0.0, 1.0) |
template<> | |
const moVector2< MOdouble > | ONE (1.0, 1.0) |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
virtual MOboolean | Init () |
Inicializa el objeto. More... | |
virtual MOboolean | Finish () |
Finaliza el objeto, libera recursos. More... | |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Static Public Member Functions | |
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) |
Static Public Attributes | |
static const moVector2 | ZERO |
static const moVector2 | UNIT_X |
static const moVector2 | UNIT_Y |
static const moVector2 | ONE |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
Additional Inherited Members | |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
Definition at line 46 of file moMathVector.h.
Definition at line 50 of file moMathVector.h.
Definition at line 52 of file moMathVector.h.
Definition at line 59 of file moMathVector.h.
Definition at line 66 of file moMathVector.h.
Definition at line 386 of file moMathVector.h.
|
inlinestatic |
Definition at line 355 of file moMathVector.h.
Definition at line 379 of file moMathVector.h.
Definition at line 176 of file moMathVector.h.
returns DotPerp((x,y),(V.x,V.y)) = x*V.y - y*V.x
Definition at line 212 of file moMathVector.h.
|
inlinestatic |
Definition at line 347 of file moMathVector.h.
|
inline |
Definition at line 218 of file moMathVector.h.
|
inline |
Definition at line 170 of file moMathVector.h.
|
inline |
Definition at line 179 of file moMathVector.h.
|
inline |
Definition at line 73 of file moMathVector.h.
|
inline |
Definition at line 74 of file moMathVector.h.
|
inline |
Definition at line 92 of file moMathVector.h.
Definition at line 108 of file moMathVector.h.
Definition at line 147 of file moMathVector.h.
|
inline |
Definition at line 99 of file moMathVector.h.
|
inline |
Definition at line 135 of file moMathVector.h.
|
inline |
Definition at line 104 of file moMathVector.h.
Definition at line 129 of file moMathVector.h.
|
inline |
Definition at line 141 of file moMathVector.h.
Definition at line 112 of file moMathVector.h.
Definition at line 153 of file moMathVector.h.
|
inline |
Definition at line 93 of file moMathVector.h.
|
inline |
Definition at line 94 of file moMathVector.h.
|
inline |
Definition at line 83 of file moMathVector.h.
|
inline |
Definition at line 91 of file moMathVector.h.
|
inline |
Definition at line 95 of file moMathVector.h.
|
inline |
Definition at line 96 of file moMathVector.h.
|
inline |
Definition at line 75 of file moMathVector.h.
|
inline |
Definition at line 76 of file moMathVector.h.
|
inlinestatic |
Definition at line 325 of file moMathVector.h.
returns (y,-x)
Definition at line 199 of file moMathVector.h.
|
inline |
Definition at line 173 of file moMathVector.h.
returns (y,-x)/sqrt(x*x+y*y)
Definition at line 205 of file moMathVector.h.
|
inline |
Definition at line 77 of file moMathVector.h.
|
inline |
Definition at line 78 of file moMathVector.h.
|
inline |
Definition at line 79 of file moMathVector.h.
|
inline |
Definition at line 80 of file moMathVector.h.
Definition at line 394 of file moMathVector.h.
Definition at line 392 of file moMathVector.h.
Definition at line 393 of file moMathVector.h.
Definition at line 391 of file moMathVector.h.