|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <AngleAxis.hpp>
Public 成员函数 | |
| AngleAxis () | |
| AngleAxis (double angle, const Vector3d &axis) | |
| double | angle () const |
| double & | angle () |
| const Vector3d & | axis () const |
| Vector3d & | axis () |
| AngleAxis | inverse () const |
| AngleAxis & | fromRotationMatrix (const Matrix3d &mtx) |
| Matrix3d | toRotationMatrix () const |
Public 属性 | |
| Vector3d | axis_ |
| double | angle_ |
轴角类
轴角类表示三维空间的旋转,由旋转轴和旋转角度组成。
|
inline |
轴角类构造函数
| axis | 旋转轴 |
| angle | 旋转角度(弧度) |
|
inline |
获取旋转角度(弧度)
|
inline |
获取旋转轴
从旋转矩阵构造轴角
| mtx | 旋转矩阵 |
|
inline |
获取轴角的逆旋转
|
inline |
轴角转旋转矩阵