Functions for back-and-forth transformation between rotation matrices and quaternion-parameters. More...
Go to the source code of this file.
Namespaces | |
opengv | |
The namespace of this library. | |
opengv::math | |
The namespace of the math tools. | |
Functions | |
rotation_t | opengv::math::quaternion2rot (const quaternion_t &quaternion) |
Compute a rotation matrix from quaternion-parameters. Assumes that the quaternion has unit norm. More... | |
quaternion_t | opengv::math::rot2quaternion (const rotation_t &R) |
Compute the quaternion-parameters of a rotation matrix. More... | |
Functions for back-and-forth transformation between rotation matrices and quaternion-parameters.