🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
AxesBodyFixed.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/AxesBodyRelated.hpp"
25
26AST_NAMESPACE_BEGIN
27
33class CelestialBody;
34class BodyOrientation;
35class AxesBodyFixed;
36using HAxesBodyFixed = SharedPtr<AxesBodyFixed>;
37using PAxesBodyFixed = AxesBodyFixed*;
38
40class AST_CORE_API AxesBodyFixed: public AxesBodyRelated
41{
42public:
43 static PAxesBodyFixed New(CelestialBody* body);
44 static HAxesBodyFixed NewShared(CelestialBody* body);
45
46 using AxesBodyRelated::AxesBodyRelated;
47 Axes* getParent() const override;
48 errc_t getTransform(const TimePoint& tp, Rotation& rotation) const override;
49 errc_t getTransform(const TimePoint& tp, KinematicRotation& rotation) const override;
50};
51
54AST_NAMESPACE_END
天体固连轴系
定义 AxesBodyFixed.hpp:41
天体相关的轴系
定义 AxesBodyRelated.hpp:37
轴系类
定义 Axes.hpp:69
virtual Axes * getParent() const =0
获取当前轴系的父轴系
virtual errc_t getTransform(const TimePoint &tp, Rotation &rotation) const =0
获取当前轴系相对于父轴系的旋转信息
天体
定义 CelestialBody.hpp:52
运动学坐标系旋转
定义 KinematicRotation.hpp:32
坐标系旋转类
定义 Rotation.hpp:39
共享指针
定义 SharedPtr.hpp:33
绝对时间点
定义 TimePoint.hpp:106