🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
FrameRoot.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/Frame.hpp"
25
26AST_NAMESPACE_BEGIN
27
34class FrameRoot final: public Frame
35{
36public:
37 FrameRoot() = default;
38 ~FrameRoot() override= default;
39 static Frame* Instance();
40 Frame* getParent() const override;
41 Axes* getAxes() const override;
42 Point* getOrigin() const override;
43 errc_t getTransform(const TimePoint& tp, Transform& transform) const override;
44 errc_t getTransform(const TimePoint& tp, KinematicTransform& transform) const override;
45};
46
47A_ALWAYS_INLINE Frame* aFrameRoot()
48{
49 return FrameRoot::Instance();
50}
51
54AST_NAMESPACE_END
轴系类
定义 Axes.hpp:69
根坐标系
定义 FrameRoot.hpp:35
坐标系类
定义 Frame.hpp:59
运动学变换
定义 KinematicTransform.hpp:33
定义 Point.hpp:37
绝对时间点
定义 TimePoint.hpp:106
坐标系转换类
定义 Transform.hpp:33