quaterniond - the rotation around the vector More...
Public Member Functions | |
_FORCEINLINE | quaterniond () |
not initialised quaternion | |
_FORCEINLINE | quaterniond (double _x, double _y, double _z, double _rad) |
_FORCEINLINE | quaterniond (vector3d vec, double rad) |
_FORCEINLINE | quaterniond (vector4d &vec) |
_FORCEINLINE void | euler (double a, double b, double c) |
Set Rotation form euler angles. | |
_FORCEINLINE quaterniond | invert () |
Reverse rotation. | |
_FORCEINLINE const quaterniond | operator! () |
Reverse rotation. | |
_FORCEINLINE double & | operator[] (unsigned int id) const |
Field reference as to the elements of the array. | |
_FORCEINLINE void | reset () |
Set to identity. | |
_FORCEINLINE void | toMatrix (matrix4d &_c) |
Create rotation matrix. | |
Public Attributes | |
BT_API | TYPEINFO_H |
Статический индентификатор типа quaterniond::t() | |
double | w |
Factor. | |
double | x |
Factor. | |
double | y |
Factor. | |
double | z |
Factor. | |
Friends | |
_FORCEINLINE friend quaterniond | operator! (quaterniond &_a) |
Reverse rotation. | |
quaterniond - the rotation around the vector
Quaternions are used in the system of Hypercomplex numbers, form a vector space of dimension four over the field of real numbers. Vector quaternions form a three-dimensional real vector space, which can be used to describe any rotation of this space as the object is rotated around the center of the starting position in the final, at the expense derived from the rotation of the fixed points lying on the straight line and the angle of rotation around it.
|
inline |
_x | - vector x |
_y | - vector y |
_z | - vector z |
_rad | - rotation in radian |
|
inline |
vec | - vector |
rad | - rotation in radian |
|
inline |
vec | - vector |