🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::AngleAxis类 参考

#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
 
AngleAxisfromRotationMatrix (const Matrix3d &mtx)
 
Matrix3d toRotationMatrix () const
 

Public 属性

Vector3d axis_
 
double angle_
 

详细描述

轴角类

轴角类表示三维空间的旋转,由旋转轴和旋转角度组成。

构造及析构函数说明

◆ AngleAxis()

ast::AngleAxis::AngleAxis ( double angle,
const Vector3d & axis )
inline

轴角类构造函数

参数
axis旋转轴
angle旋转角度(弧度)

成员函数说明

◆ angle()

double ast::AngleAxis::angle ( ) const
inline

获取旋转角度(弧度)

返回
旋转角度(弧度)

◆ axis()

const Vector3d & ast::AngleAxis::axis ( ) const
inline

获取旋转轴

返回
旋转轴

◆ fromRotationMatrix()

AngleAxis & ast::AngleAxis::fromRotationMatrix ( const Matrix3d & mtx)
inline

从旋转矩阵构造轴角

参数
mtx旋转矩阵
返回
轴角

◆ inverse()

AngleAxis ast::AngleAxis::inverse ( ) const
inline

获取轴角的逆旋转

返回
轴角的逆旋转

◆ toRotationMatrix()

Matrix3d ast::AngleAxis::toRotationMatrix ( ) const
inline

轴角转旋转矩阵

返回
旋转矩阵

该类的文档由以下文件生成: