TIndex4 Class Reference

Inheritance diagram for TIndex4:

TMCObject

List of all members.

Public Member Functions

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

Public Attributes

int32 x
int32 y
int32 z
int32 w

Static Public Attributes

static const TIndex4 kZero


Detailed Description

Stores a 4D integer point

Constructor & Destructor Documentation

TIndex4::TIndex4 (  )  [inline]

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


Member Function Documentation

void TIndex4::Set ( const int32  xx,
const int32  yy,
const int32  zz,
const int32  ww 
) [inline]

real TIndex4::GetMagnitudeSquared ( void   )  const [inline]

real TIndex4::GetMagnitude ( void   )  const [inline]

real TIndex4::GetDistance ( const TIndex4 &  v  )  const [inline]

void TIndex4::Swap ( TIndex4 &  v  ) 

void TIndex4::Negate ( void   )  [inline]

TIndex4 TIndex4::operator- ( void   )  const [inline]

TIndex4& TIndex4::operator+= ( const TIndex4 &  rhs  )  [inline]

TIndex4& TIndex4::operator-= ( const TIndex4 &  rhs  )  [inline]

TIndex4 TIndex4::operator+ ( const TIndex4 &  rhs  )  const [inline]

TIndex4 TIndex4::operator- ( const TIndex4 &  rhs  )  const [inline]

int32& TIndex4::operator[] ( const uint32  elemNum  )  [inline]

const int32& TIndex4::operator[] ( const uint32  elemNum  )  const [inline]

boolean TIndex4::operator== ( const TIndex4 &  rhs  )  const [inline]

boolean TIndex4::operator!= ( const TIndex4 &  rhs  )  const [inline]

uint32 TIndex4::GetDimension ( void   )  const [inline]


Member Data Documentation

const TIndex4 TIndex4::kZero [static]

int32 TIndex4::x

int32 TIndex4::y

int32 TIndex4::z

int32 TIndex4::w


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 15:19:29 2007 for Carrara SDK Doc by  doxygen 1.5.3