|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <Euler.hpp>
Public 成员函数 | |
| errc_t | toMatrix (int seq, Matrix3d &mtx) const |
| errc_t | toQuat (int seq, Quaternion &quat) const |
| errc_t | fromMatrix (const Matrix3d &mtx, int seq) |
| errc_t | fromQuat (const Quaternion &quat, int seq) |
| double | angle1 () const |
| double | angle2 () const |
| double | angle3 () const |
| double & | angle1 () |
| double & | angle2 () |
| double & | angle3 () |
Public 属性 | |
| double | angle1_ |
| double | angle2_ |
| double | angle3_ |
欧拉角
|
inline |
从旋转矩阵转换
| mtx | 输入旋转矩阵 |
| seq | 欧拉角旋转序 |
|
inline |
从四元数转换
| quat | 输入四元数 |
| seq | 欧拉角旋转序 |
|
inline |
转换为旋转矩阵
| seq | 欧拉角旋转序 |
| mtx | 输出旋转矩阵 |
|
inline |
转换为四元数
| seq | 欧拉角旋转序 |
| quat | 输出四元数 |