🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
KinematicTransform.hpp 文件参考
#include "AstGlobal.h"
#include "Transform.hpp"
#include "AstMath/KinematicRotation.hpp"
#include "AstCore/OrbitElement.hpp"

浏览该文件的源代码.

类

class  ast::KinematicTransform
 

命名空间

namespace  ast
 

宏定义

#define _AST_DEF_KINEMATICTRANSFORM_PROPERTIES
 

详细描述

~

~

作者
axel
日期
2026-01-05

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

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

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

宏定义说明

◆ _AST_DEF_KINEMATICTRANSFORM_PROPERTIES

#define _AST_DEF_KINEMATICTRANSFORM_PROPERTIES
值:
_AST_DEF_TRANSFORM_PROPERTIES\
const Vector3d& velocity() const { return velocity_; }\
Vector3d& velocity() { return velocity_; }\
const Vector3d& getVelocity() const { return velocity_; }\
Vector3d& getVelocity() { return velocity_; }\
void setVelocity(const Vector3d& velocity) { velocity_ = velocity; }\
const Transform& transform() const { return reinterpret_cast<const Transform&>(translation_); }\
Transform& transform() { return reinterpret_cast<Transform&>(translation_); }\
const Transform& getTransform() const { return transform(); }\
Transform& getTransform() { return transform(); }\
void setTransform(const Transform& xform) { transform() = xform; }