|
This constructor generates the identity quaternion. |
|
This constructor generates a quaternion with real value r and imaginary components i. |
|
This constructor generates a quaternion corresponding to the 3x3 rotation matrix. |
|
Because the quaternion of a rotation is unique up to sign, the following method sets the quaternion so that it is closest to the input ones |
|
Because the quaternion of a rotation is unique up to sign, the following method sets the quaternion so that it is closest to the input ones |
|
This method returns the complex conjugate of a quaternion |
|
This method returns the dot product of two quaternions. |
|
This method returns the reciprocal of a quaternion. |
|
This method returns the length of a quaternion. |
|
This method returns the product of two quaternions. |
|
This method scales a quaternion by a constant factor and returns a new quaternion. |
|
This method multiplies the current quaternion by another quaternion. |
|
This method scales the current quaternion by a constant factor. |
|
This method adds two quaternion and returns their sum. |
|
This method adds a point to the current quaternion. |
|
This method subtracts two quaternion and returns their difference. |
|
This method return the negative of the quaternion. |
|
This method subtracts a quaternion from the current quaternion. |
|
This method returns the quotient of two quaternions. |
|
This method divides the coefficients of a quaternion by a constant factor and returns a new quaternion. |
|
This method divides the current quaternion by another quaternion. |
|
This method divides the coefficients of the current quaternion by a constant factor. |
|
This method returns the square of the length of a quaternion. |
|
This method returns a unit vector that points in the same direction as the quaternion. |
|
The imaginary components of the quaternion |
|
The real component of the quaternion |