|
| Vector3 () |
| Public constructor. More...
|
|
| Vector3 (float x, float y, float z) |
| Public constructor. More...
|
|
| Vector3 (const array< float, 3 > &v) |
| Public constructor. More...
|
|
| Vector3 (const Vector3 &v) |
| Public constructor. More...
|
|
Vector3 & | set (float x, float y, float z) |
| Set up vector. More...
|
|
Vector3 & | set (const array< float, 3 > &v) |
| Set up vector. More...
|
|
Vector3 & | set (const Vector3 &v) |
| Set up vector. More...
|
|
float | getX () const |
|
Vector3 & | setX (float x) |
| Set X. More...
|
|
float | getY () const |
|
Vector3 & | setY (float y) |
| Set Y. More...
|
|
float | getZ () const |
|
Vector3 & | setZ (float z) |
| Set Z. More...
|
|
float & | operator[] (int i) |
| Array access operator. More...
|
|
const float & | operator[] (int i) const |
| Const array access operator. More...
|
|
array< float, 3 > & | getArray () const |
|
float | computeLength () const |
|
float | computeLengthSquared () const |
|
bool | computeEulerAngles (Vector3 &euler) const |
| Compute Euler angles (rotation around x, y, z axes) More...
|
|
Vector3 & | abs () |
| Convert this vector to vector with positive vector components. More...
|
|
Vector3 & | normalize () |
| Normalize the vector. More...
|
|
Vector3 & | add (const Vector3 &v) |
| Adds a vector. More...
|
|
Vector3 & | add (float value) |
| Adds a float to each vector component. More...
|
|
Vector3 & | sub (const Vector3 &v) |
| Subtracts a vector. More...
|
|
Vector3 & | sub (float value) |
| Subtracts a float from each vector component. More...
|
|
Vector3 & | scale (float scale) |
| Scale this vector. More...
|
|
Vector3 & | scale (const Vector3 &scale) |
| Scale this vector. More...
|
|
Vector3 | clone () const |
| Clones the vector. More...
|
|
bool | equals (const Vector3 &v) const |
| Compares this vector with given vector. More...
|
|
bool | equals (const Vector3 &v, float tolerance) const |
| Compares this vector with given vector. More...
|
|
Vector3 | operator+ (const Vector3 &v) const |
| Operator +. More...
|
|
Vector3 | operator- (const Vector3 &v) const |
| Operator +. More...
|
|
Vector3 | operator* (const float f) const |
| Operator * (float) More...
|
|
Vector3 | operator* (const Vector3 &v) const |
| Operator * (Vector3&) More...
|
|
Vector3 | operator/ (const float f) const |
| Operator / (f) More...
|
|
Vector3 | operator/ (const Vector3 &v) const |
| Operator / (Vector3&) More...
|
|
Vector3 & | operator+= (const Vector3 &v) |
| Operator +=. More...
|
|
Vector3 & | operator-= (const Vector3 &v) |
| Operator -=. More...
|
|
Vector3 & | operator*= (const Vector3 &v) |
| Operator *=. More...
|
|
Vector3 & | operator/= (const Vector3 &v) |
| Operator /=. More...
|
|
Vector3 & | operator*= (const float f) |
| Operator *=. More...
|
|
Vector3 & | operator/= (const float f) |
| Operator /=. More...
|
|
bool | operator== (const Vector3 &v) const |
| Equality comparison operator. More...
|
|
bool | operator!= (const Vector3 &v) const |
| Non equality comparison operator. More...
|
|
3D vector 3 class
- Author
- andreas.drewke
- Version
- $Id$
Definition at line 21 of file Vector3.h.