|
Assimp
v2.0 (November 2010)
|
Represents a three-dimensional vector. More...
Public Member Functions | |
| aiVector3t () | |
| aiVector3t (TReal _x, TReal _y, TReal _z) | |
| aiVector3t (TReal _xyz) | |
| aiVector3t (const aiVector3t &o) | |
| TReal | Length () const |
| Get the length of the vector. More... | |
| aiVector3t & | Normalize () |
| Normalize the vector. More... | |
| template<typename TOther > | |
| operator aiVector3t< TOther > () const | |
| bool | operator!= (const aiVector3t &other) const |
| const aiVector3t & | operator*= (TReal f) |
| aiVector3t & | operator*= (const aiMatrix3x3t< TReal > &mat) |
| aiVector3t & | operator*= (const aiMatrix4x4t< TReal > &mat) |
| const aiVector3t & | operator+= (const aiVector3t &o) |
| const aiVector3t & | operator-= (const aiVector3t &o) |
| const aiVector3t & | operator/= (TReal f) |
| bool | operator== (const aiVector3t &other) const |
| TReal | operator[] (unsigned int i) const |
| TReal & | operator[] (unsigned int i) |
| void | Set (TReal pX, TReal pY, TReal pZ) |
| Set the components of a vector. More... | |
| TReal | SquareLength () const |
| Get the squared length of the vector. More... | |
| const aiVector3t | SymMul (const aiVector3t &o) |
| Componentwise multiplication of two vectors. More... | |
Public Attributes | |
| TReal | x |
| TReal | y |
| TReal | z |
Represents a three-dimensional vector.
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
| AI_FORCE_INLINE TReal aiVector3t< TReal >::Length | ( | ) | const |
Get the length of the vector.
| AI_FORCE_INLINE aiVector3t< TReal > & aiVector3t< TReal >::Normalize | ( | ) |
Normalize the vector.
| aiVector3t< TReal >::operator aiVector3t< TOther > | ( | ) | const |
| AI_FORCE_INLINE bool aiVector3t< TReal >::operator!= | ( | const aiVector3t< TReal > & | other | ) | const |
| AI_FORCE_INLINE const aiVector3t< TReal > & aiVector3t< TReal >::operator*= | ( | TReal | f | ) |
| AI_FORCE_INLINE aiVector3t< TReal > & aiVector3t< TReal >::operator*= | ( | const aiMatrix3x3t< TReal > & | mat | ) |
| AI_FORCE_INLINE aiVector3t< TReal > & aiVector3t< TReal >::operator*= | ( | const aiMatrix4x4t< TReal > & | mat | ) |
| AI_FORCE_INLINE const aiVector3t< TReal > & aiVector3t< TReal >::operator+= | ( | const aiVector3t< TReal > & | o | ) |
| AI_FORCE_INLINE const aiVector3t< TReal > & aiVector3t< TReal >::operator-= | ( | const aiVector3t< TReal > & | o | ) |
| AI_FORCE_INLINE const aiVector3t< TReal > & aiVector3t< TReal >::operator/= | ( | TReal | f | ) |
| AI_FORCE_INLINE bool aiVector3t< TReal >::operator== | ( | const aiVector3t< TReal > & | other | ) | const |
| AI_FORCE_INLINE TReal aiVector3t< TReal >::operator[] | ( | unsigned int | i | ) | const |
| AI_FORCE_INLINE TReal & aiVector3t< TReal >::operator[] | ( | unsigned int | i | ) |
| AI_FORCE_INLINE void aiVector3t< TReal >::Set | ( | TReal | pX, |
| TReal | pY, | ||
| TReal | pZ | ||
| ) |
Set the components of a vector.
| pX | X component |
| pY | Y component |
| pZ | Z component |
| AI_FORCE_INLINE TReal aiVector3t< TReal >::SquareLength | ( | ) | const |
Get the squared length of the vector.
| AI_FORCE_INLINE const aiVector3t< TReal > aiVector3t< TReal >::SymMul | ( | const aiVector3t< TReal > & | o | ) |
Componentwise multiplication of two vectors.
Note that vec*vec yields the dot product.
| o | Second factor |
| TReal aiVector3t< TReal >::x |
| TReal aiVector3t< TReal >::y |
| TReal aiVector3t< TReal >::z |
1.8.5