K3dVector3Obj Class Reference

#include <K3dVector3Obj.h>

Inheritance diagram for K3dVector3Obj:

K3dVector3 List of all members.

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.
K3dVector3Objoperator= (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
K3dVector3Objoperator+= (const K3dVector3Obj &_rkV)
K3dVector3Objoperator+= (const float _fScalar)
K3dVector3Objoperator-= (const K3dVector3Obj &_rkV)
K3dVector3Objoperator-= (const float _fScalar)
K3dVector3Objoperator *= (const K3dVector3Obj &_rkV)
K3dVector3Objoperator *= (const float _fScalar)
K3dVector3Objoperator/= (const K3dVector3Obj &_rkV)
K3dVector3Objoperator/= (const float _fScalar)

Private Attributes

int m_iId
 3d vector index in global data

Detailed Description

Definition at line 36 of file K3dVector3Obj.h.


Constructor & Destructor Documentation

K3dVector3Obj::K3dVector3Obj (  ) 

Definition at line 35 of file K3dVector3Obj.cpp.

References m_iId.

K3dVector3Obj::K3dVector3Obj ( const K3dVector3Obj _rkV  ) 

Definition at line 40 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector(), and m_iId.

K3dVector3Obj::K3dVector3Obj ( const float  _afVector[3]  ) 

Definition at line 49 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector(), and m_iId.

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]  ) 

Definition at line 58 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector(), and m_iId.

K3dVector3Obj::~K3dVector3Obj (  ) 

Definition at line 75 of file K3dVector3Obj.cpp.


Member Function Documentation

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  ) 

Definition at line 78 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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

Definition at line 137 of file K3dVector3Obj.cpp.

References CompareArrays().

bool K3dVector3Obj::operator<= ( const K3dVector3Obj _rkV  )  const

Definition at line 142 of file K3dVector3Obj.cpp.

References CompareArrays().

bool K3dVector3Obj::operator> ( const K3dVector3Obj _rkV  )  const

Definition at line 147 of file K3dVector3Obj.cpp.

References CompareArrays().

bool K3dVector3Obj::operator>= ( const K3dVector3Obj _rkV  )  const

Definition at line 152 of file K3dVector3Obj.cpp.

References CompareArrays().

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

Definition at line 165 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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

Definition at line 185 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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

Definition at line 215 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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

Definition at line 235 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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  ) 

Definition at line 267 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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  ) 

Definition at line 285 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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  ) 

Definition at line 303 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

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  ) 

Definition at line 321 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().

K3dVector3Obj & K3dVector3Obj::operator/= ( const float  _fScalar  ) 

Reimplemented from K3dVector3.

Definition at line 333 of file K3dVector3Obj.cpp.

References K3dVector3::GetVector().


Member Data Documentation

int K3dVector3Obj::m_iId [private]

3d vector index in global data

Definition at line 38 of file K3dVector3Obj.h.

Referenced by GetId(), and K3dVector3Obj().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:34 2007 for K3dEngine by  doxygen 1.5.0