|
Public Member Functions |
| | TVector3 (void) |
| | TVector3 (const real xx, const real yy, const real zz) |
| void | SetValues (const real xx, const real yy, const real zz) |
| uint32 | GetDimension (void) const |
| void | SetFromXY (const TVector2 &v, const real z) |
| TVector2 & | CastToXY (void) |
| const TVector2 & | CastToXY (void) const |
| const real & | operator() (const uint32 elemNum) const |
| real & | operator() (const uint32 elemNum) |
| const real & | operator[] (const uint32 elemNum) const |
| real & | operator[] (const uint32 elemNum) |
| real & | X (void) |
| real & | Y (void) |
| real & | Z (void) |
| real | X (void) const |
| real | Y (void) const |
| real | Z (void) const |
| real64 | GetMagnitude (void) const |
| real64 | GetMagnitudeSquared (void) const |
| real64 | GetDistance (const TVector3 &rhs) const |
| boolean | SetMagnitude (const real newMagnitude) |
| void | SetToCenter (const TVector3 &v0, const TVector3 &v1) |
| boolean | Normalize (const real zeroTolerance=0.0f) |
| boolean | NormalizeOrReplaceWith (const TVector3 &replacement, const real zeroTolerance=0.0f) |
| boolean | Normalized () const |
| boolean | IsEqual (const TVector3 &compareVec, const real zeroTolerance=0.0f) const |
| void | ClampValue (const TVector3 &min, const TVector3 &max) |
| void | Negate (void) |
| void | Interpolate (const TVector3 &vstart, const TVector3 &vend, const float t) |
| void | Swap (TVector3 &v) |
| void | BuildOrthonormalBase (TVector3 &I, TVector3 &J) const |
| TVector3 & | operator= (const int32 i) |
| TVector3 & | operator= (const TVector3 &v) |
| TVector3 & | operator/= (const real scalar) |
| TVector3 & | operator *= (const real scalar) |
| TVector3 & | operator+= (const TVector3 &v) |
| TVector3 & | operator-= (const TVector3 &v) |
| real | Normalize (TVector3 &result) const |
| real | GetNorm () const |
| real | GetSquaredNorm () const |
| boolean | IsNull (const real eps=1E-5f) const |
Public Attributes |
| real | x |
| real | y |
| real | z |
Static Public Attributes |
| const TVector3 | kZero |
| const TVector3 | kOnes |
| const TVector3 | kUnitX |
| const TVector3 | kUnitY |
| const TVector3 | kUnitZ |
| const TVector3 | kNegativeX |
| const TVector3 | kNegativeY |
| const TVector3 | kNegativeZ |