Public Member Functions | |
| aiVector3D (const aiVector3D &o) | |
| aiVector3D (float _xyz) | |
| aiVector3D (float _x, float _y, float _z) | |
| aiVector3D () | |
| float | Length () const |
| Get the length of the vector. | |
| aiVector3D & | Normalize () |
| Normalize the vector. | |
| bool | operator!= (const aiVector3D &other) const |
| aiVector3D & | operator*= (const aiMatrix4x4 &mat) |
| aiVector3D & | operator*= (const aiMatrix3x3 &mat) |
| const aiVector3D & | operator*= (float f) |
| const aiVector3D & | operator+= (const aiVector3D &o) |
| const aiVector3D & | operator-= (const aiVector3D &o) |
| const aiVector3D & | operator/= (float f) |
| bool | operator== (const aiVector3D &other) const |
| float & | operator[] (unsigned int i) |
| float | operator[] (unsigned int i) const |
| void | Set (float pX, float pY, float pZ=0.f) |
| Set the components of a vector. | |
| float | SquareLength () const |
| Get the squared length of the vector. | |
| const aiVector3D | SymMul (const aiVector3D &o) |
| Componentwise multiplication of two vectors. | |
Public Attributes | |
| float | x |
| float | y |
| float | z |
| aiVector3D::aiVector3D | ( | ) | [inline] |
| aiVector3D::aiVector3D | ( | float | _x, | |
| float | _y, | |||
| float | _z | |||
| ) | [inline] |
| aiVector3D::aiVector3D | ( | float | _xyz | ) | [inline] |
| aiVector3D::aiVector3D | ( | const aiVector3D & | o | ) | [inline] |
| AI_FORCE_INLINE float aiVector3D::Length | ( | ) | const |
Get the length of the vector.
| AI_FORCE_INLINE aiVector3D & aiVector3D::Normalize | ( | ) |
Normalize the vector.
| AI_FORCE_INLINE bool aiVector3D::operator!= | ( | const aiVector3D & | other | ) | const |
| AI_FORCE_INLINE aiVector3D & aiVector3D::operator*= | ( | const aiMatrix4x4 & | mat | ) |
| AI_FORCE_INLINE aiVector3D & aiVector3D::operator*= | ( | const aiMatrix3x3 & | mat | ) |
| AI_FORCE_INLINE const aiVector3D & aiVector3D::operator*= | ( | float | f | ) |
| AI_FORCE_INLINE const aiVector3D & aiVector3D::operator+= | ( | const aiVector3D & | o | ) |
| AI_FORCE_INLINE const aiVector3D & aiVector3D::operator-= | ( | const aiVector3D & | o | ) |
| AI_FORCE_INLINE const aiVector3D & aiVector3D::operator/= | ( | float | f | ) |
| AI_FORCE_INLINE bool aiVector3D::operator== | ( | const aiVector3D & | other | ) | const |
| AI_FORCE_INLINE float & aiVector3D::operator[] | ( | unsigned int | i | ) |
| AI_FORCE_INLINE float aiVector3D::operator[] | ( | unsigned int | i | ) | const |
| AI_FORCE_INLINE void aiVector3D::Set | ( | float | pX, | |
| float | pY, | |||
| float | pZ = 0.f | |||
| ) |
Set the components of a vector.
| pX | X component | |
| pY | Y component | |
| pZ | Z component |
| AI_FORCE_INLINE float aiVector3D::SquareLength | ( | ) | const |
Get the squared length of the vector.
| AI_FORCE_INLINE const aiVector3D aiVector3D::SymMul | ( | const aiVector3D & | o | ) |
Componentwise multiplication of two vectors.
Note that vec*vec yields the dot product.
| o | Second factor |
| float aiVector3D::x |
| float aiVector3D::y |
| float aiVector3D::z |
1.5.8