🛰️航天仿真算法库 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
28
AST_NAMESPACE_BEGIN
29
36
class
Facility
:
public
Point
37
{
38
public
:
39
Facility
() =
default
;
40
~Facility
()
override
=
default
;
41
public
:
// 从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
;
45
protected
:
46
SharedPtr<CelestialBody>
body_
;
47
GeodeticPoint
position_{};
48
};
49
52
AST_NAMESPACE_END
ast::Facility
设施对象
定义
Facility.hpp:37
ast::Facility::body_
SharedPtr< CelestialBody > body_
设施所在的天体
定义
Facility.hpp:46
ast::Frame
坐标系类
定义
Frame.hpp:59
ast::GeodeticPoint
大地坐标
定义
GeodeticPoint.hpp:33
ast::Point
定义
Point.hpp:37
ast::SharedPtr
共享指针
定义
SharedPtr.hpp:33
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:106
src
AstSim
Object
Facility.hpp
制作者
1.12.0