🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
Facility.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/Point.hpp"
25#include "AstCore/GeodeticPoint.hpp"
26#include "AstCore/CelestialBody.hpp"
27
28AST_NAMESPACE_BEGIN
29
36class Facility: public Point
37{
38public:
39 Facility() = default;
40 ~Facility() override = default;
41public: // 从Point继承重写的函数
42 Frame* getFrame() const final;
43 errc_t getPos(const TimePoint& tp, Vector3d& pos) const final;
44 errc_t getPosVel(const TimePoint& tp, Vector3d& pos, Vector3d& vel) const final;
45protected:
47 GeodeticPoint position_{};
48};
49
52AST_NAMESPACE_END
设施对象
定义 Facility.hpp:37
SharedPtr< CelestialBody > body_
设施所在的天体
定义 Facility.hpp:46
坐标系类
定义 Frame.hpp:59
大地坐标
定义 GeodeticPoint.hpp:33
定义 Point.hpp:37
共享指针
定义 SharedPtr.hpp:33
绝对时间点
定义 TimePoint.hpp:106