TIndex3 Class Reference

Inheritance diagram for TIndex3:
TMCObject

List of all members.

Public Member Functions

 TIndex3 ()
 TIndex3 (const int32 xx, const int32 yy, const int32 zz)
void Set (const int32 xx, const int32 yy, const int32 zz)
real GetMagnitudeSquared (void) const
real GetMagnitude (void) const
real GetDistance (const TIndex3 &v) const
void Swap (TIndex3 &v)
void Negate (void)
TIndex3 operator- (void) const
TIndex3operator+= (const TIndex3 &rhs)
TIndex3operator-= (const TIndex3 &rhs)
TIndex3 operator+ (const TIndex3 &rhs) const
TIndex3 operator- (const TIndex3 &rhs) const
int32 & operator[] (const uint32 elemNum)
const int32 & operator[] (const uint32 elemNum) const
boolean operator== (const TIndex3 &rhs) const
boolean operator!= (const TIndex3 &rhs) const
uint32 GetDimension (void) const

Public Attributes

int32 x
int32 y
int32 z

Static Public Attributes

static const TIndex3 kZero

Detailed Description

Stores a 3D integer point


Constructor & Destructor Documentation

TIndex3::TIndex3 (  )  [inline]
TIndex3::TIndex3 ( const int32  xx,
const int32  yy,
const int32  zz 
) [inline]

Member Function Documentation

uint32 TIndex3::GetDimension ( void   )  const [inline]
real TIndex3::GetDistance ( const TIndex3 v  )  const [inline]
real TIndex3::GetMagnitude ( void   )  const [inline]
real TIndex3::GetMagnitudeSquared ( void   )  const [inline]
void TIndex3::Negate ( void   )  [inline]
boolean TIndex3::operator!= ( const TIndex3 rhs  )  const [inline]
TIndex3 TIndex3::operator+ ( const TIndex3 rhs  )  const [inline]
TIndex3& TIndex3::operator+= ( const TIndex3 rhs  )  [inline]
TIndex3 TIndex3::operator- ( const TIndex3 rhs  )  const [inline]
TIndex3 TIndex3::operator- ( void   )  const [inline]
TIndex3& TIndex3::operator-= ( const TIndex3 rhs  )  [inline]
boolean TIndex3::operator== ( const TIndex3 rhs  )  const [inline]
const int32& TIndex3::operator[] ( const uint32  elemNum  )  const [inline]
int32& TIndex3::operator[] ( const uint32  elemNum  )  [inline]
void TIndex3::Set ( const int32  xx,
const int32  yy,
const int32  zz 
) [inline]
void TIndex3::Swap ( TIndex3 v  ) 

Member Data Documentation

const TIndex3 TIndex3::kZero [static]
int32 TIndex3::x
int32 TIndex3::y
int32 TIndex3::z

The documentation for this class was generated from the following file:
Generated on Mon Apr 26 22:48:00 2010 for Carrara SDK Doc by  doxygen 1.6.3