🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
Rotation.hpp 文件参考
#include "AstGlobal.h"
#include "AstMath/Quaternion.hpp"
#include "AstMath/Matrix.hpp"
#include "AstMath/Vector.hpp"
#include "AstMath/AngleAxis.hpp"
#include "AstMath/AttitudeConvert.hpp"

浏览该文件的源代码.

类

class  ast::Rotation
 

命名空间

namespace  ast
 

宏定义

#define _AST_DEF_ROTATION_PROPERTIES
 

详细描述

~

~

作者
axel
日期
2025-12-08

ast项目(https://github.com/space-ast/ast) 本项目基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:

http://www.apache.org/licenses/LICENSE-2.0

重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。

宏定义说明

◆ _AST_DEF_ROTATION_PROPERTIES

#define _AST_DEF_ROTATION_PROPERTIES
值:
const Rotation& rotation() const { return rotation_; }\
Rotation& rotation() { return rotation_; }\
const Rotation& getRotation() const { return rotation_; }\
Rotation& getRotation() { return rotation_; }\
void setRotation(const Rotation& rotation) { rotation_ = rotation; }\
const Matrix3d& matrix() const { return rotation_.matrix(); }\
Matrix3d& matrix() { return rotation_.matrix(); }\
const Matrix3d& getMatrix() const { return rotation_.matrix(); }\
Matrix3d& getMatrix() { return rotation_.matrix(); }\
void setMatrix(const Matrix3d& mat) { rotation_.setMatrix(mat); }\
Quaternion quaternion() const { return rotation_.getQuaternion(); }\
Quaternion getQuaternion() const { return rotation_.getQuaternion(); }\