Public Member Functions | |
| TIndex2 () | |
| TIndex2 (const int32 xx, const int32 yy) | |
| operator TMCPoint & (void) | |
| operator const TMCPoint & (void) const | |
| void | Set (const int32 xx, const int32 yy) |
| real | GetMagnitudeSquared (void) const |
| real | GetMagnitude (void) const |
| real | GetDistance (const TIndex2 &v) const |
| void | Swap (TIndex2 &v) |
| void | Negate (void) |
| TIndex2 | operator- (void) const |
| TIndex2 & | operator+= (const TIndex2 &rhs) |
| TIndex2 & | operator-= (const TIndex2 &rhs) |
| TIndex2 | operator+ (const TIndex2 &rhs) const |
| TIndex2 | operator- (const TIndex2 &rhs) const |
| int32 & | operator[] (const uint32 elemNum) |
| const int32 & | operator[] (const uint32 elemNum) const |
| boolean | operator== (const TIndex2 &rhs) const |
| boolean | operator!= (const TIndex2 &rhs) const |
| uint32 | GetDimension (void) const |
Public Attributes | |
| int32 | x |
| int32 | y |
Static Public Attributes | |
| const TIndex2 | kZero |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1