#include <K3dVector3Obj.h>
Inheritance diagram for K3dVector3Obj:
Public Member Functions | |
K3dVector3Obj () | |
K3dVector3Obj (const K3dVector3Obj &_rkV) | |
K3dVector3Obj (const float _afVector[3]) | |
K3dVector3Obj (float _fX, float _fY, float _fZ) | |
K3dVector3Obj (const unsigned char _aucVector[3]) | |
~K3dVector3Obj () | |
int & | GetId () |
Get or set vector index. | |
K3dVector3Obj & | operator= (const K3dVector3Obj &_rkV) |
bool | operator== (const K3dVector3Obj &_rkV) const |
bool | operator!= (const K3dVector3Obj &_rkV) const |
bool | operator< (const K3dVector3Obj &_rkV) const |
bool | operator<= (const K3dVector3Obj &_rkV) const |
bool | operator> (const K3dVector3Obj &_rkV) const |
bool | operator>= (const K3dVector3Obj &_rkV) const |
int | CompareArrays (const K3dVector3Obj &_rkV) const |
K3dVector3Obj | operator+ (const K3dVector3Obj &_rkV) const |
K3dVector3Obj | operator+ (const float _fScalar) const |
K3dVector3Obj | operator- (const K3dVector3Obj &_rkV) const |
K3dVector3Obj | operator- (const float _fScalar) const |
K3dVector3Obj | operator- () const |
K3dVector3Obj | operator * (const K3dVector3Obj &_rkV) const |
K3dVector3Obj | operator * (const float _fScalar) const |
K3dVector3Obj | operator/ (const K3dVector3Obj &_rkV) const |
K3dVector3Obj | operator/ (const float _fScalar) const |
K3dVector3Obj & | operator+= (const K3dVector3Obj &_rkV) |
K3dVector3Obj & | operator+= (const float _fScalar) |
K3dVector3Obj & | operator-= (const K3dVector3Obj &_rkV) |
K3dVector3Obj & | operator-= (const float _fScalar) |
K3dVector3Obj & | operator *= (const K3dVector3Obj &_rkV) |
K3dVector3Obj & | operator *= (const float _fScalar) |
K3dVector3Obj & | operator/= (const K3dVector3Obj &_rkV) |
K3dVector3Obj & | operator/= (const float _fScalar) |
Private Attributes | |
int | m_iId |
3d vector index in global data |
Definition at line 36 of file K3dVector3Obj.h.
K3dVector3Obj::K3dVector3Obj | ( | ) |
K3dVector3Obj::K3dVector3Obj | ( | const K3dVector3Obj & | _rkV | ) |
K3dVector3Obj::K3dVector3Obj | ( | const float | _afVector[3] | ) |
K3dVector3Obj::K3dVector3Obj | ( | float | _fX, | |
float | _fY, | |||
float | _fZ | |||
) |
Definition at line 67 of file K3dVector3Obj.cpp.
References K3dVector3::GetX(), K3dVector3::GetY(), K3dVector3::GetZ(), and m_iId.
K3dVector3Obj::K3dVector3Obj | ( | const unsigned char | _aucVector[3] | ) |
K3dVector3Obj::~K3dVector3Obj | ( | ) |
Definition at line 75 of file K3dVector3Obj.cpp.
int& K3dVector3Obj::GetId | ( | ) | [inline] |
Get or set vector index.
Definition at line 52 of file K3dVector3Obj.h.
References m_iId.
Referenced by K3dCutPoly::CalcNewEdges(), and K3dVector3Build::CreateNewVector3().
K3dVector3Obj & K3dVector3Obj::operator= | ( | const K3dVector3Obj & | _rkV | ) |
bool K3dVector3Obj::operator== | ( | const K3dVector3Obj & | _rkV | ) | const |
Definition at line 90 of file K3dVector3Obj.cpp.
References K3dMath::EqualRange(), K3dVector3::GetX(), K3dVector3::GetY(), K3dVector3::GetZ(), and K_EQUAL_RANGE.
bool K3dVector3Obj::operator!= | ( | const K3dVector3Obj & | _rkV | ) | const |
Definition at line 108 of file K3dVector3Obj.cpp.
References K3dVector3::GetX(), K3dVector3::GetY(), and K3dVector3::GetZ().
bool K3dVector3Obj::operator< | ( | const K3dVector3Obj & | _rkV | ) | const |
bool K3dVector3Obj::operator<= | ( | const K3dVector3Obj & | _rkV | ) | const |
bool K3dVector3Obj::operator> | ( | const K3dVector3Obj & | _rkV | ) | const |
bool K3dVector3Obj::operator>= | ( | const K3dVector3Obj & | _rkV | ) | const |
int K3dVector3Obj::CompareArrays | ( | const K3dVector3Obj & | _rkV | ) | const |
Definition at line 120 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
Referenced by operator<(), operator<=(), operator>(), and operator>=().
K3dVector3Obj K3dVector3Obj::operator+ | ( | const K3dVector3Obj & | _rkV | ) | const |
K3dVector3Obj K3dVector3Obj::operator+ | ( | const float | _fScalar | ) | const |
Reimplemented from K3dVector3.
Definition at line 175 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj K3dVector3Obj::operator- | ( | const K3dVector3Obj & | _rkV | ) | const |
K3dVector3Obj K3dVector3Obj::operator- | ( | const float | _fScalar | ) | const |
Reimplemented from K3dVector3.
Definition at line 195 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj K3dVector3Obj::operator- | ( | ) | const |
Reimplemented from K3dVector3.
Definition at line 205 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj K3dVector3Obj::operator * | ( | const K3dVector3Obj & | _rkV | ) | const |
K3dVector3Obj K3dVector3Obj::operator * | ( | const float | _fScalar | ) | const |
Reimplemented from K3dVector3.
Definition at line 225 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj K3dVector3Obj::operator/ | ( | const K3dVector3Obj & | _rkV | ) | const |
K3dVector3Obj K3dVector3Obj::operator/ | ( | const float | _fScalar | ) | const |
Reimplemented from K3dVector3.
Definition at line 248 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj & K3dVector3Obj::operator+= | ( | const K3dVector3Obj & | _rkV | ) |
K3dVector3Obj & K3dVector3Obj::operator+= | ( | const float | _fScalar | ) |
Reimplemented from K3dVector3.
Definition at line 276 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj & K3dVector3Obj::operator-= | ( | const K3dVector3Obj & | _rkV | ) |
K3dVector3Obj & K3dVector3Obj::operator-= | ( | const float | _fScalar | ) |
Reimplemented from K3dVector3.
Definition at line 294 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj & K3dVector3Obj::operator *= | ( | const K3dVector3Obj & | _rkV | ) |
K3dVector3Obj & K3dVector3Obj::operator *= | ( | const float | _fScalar | ) |
Reimplemented from K3dVector3.
Definition at line 312 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
K3dVector3Obj & K3dVector3Obj::operator/= | ( | const K3dVector3Obj & | _rkV | ) |
K3dVector3Obj & K3dVector3Obj::operator/= | ( | const float | _fScalar | ) |
Reimplemented from K3dVector3.
Definition at line 333 of file K3dVector3Obj.cpp.
References K3dVector3::GetVector().
int K3dVector3Obj::m_iId [private] |
3d vector index in global data
Definition at line 38 of file K3dVector3Obj.h.
Referenced by GetId(), and K3dVector3Obj().