🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
SGP4.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "
TLELines.hpp
"
// TLELines (TLE.hpp 依赖但未包含)
25
#include "
TLE.hpp
"
26
#include "AstCore/Ephemeris.hpp"
27
28
struct
elsetrec
;
29
30
AST_NAMESPACE_BEGIN
31
40
class
AST_CORE_API
SGP4
:
public
Ephemeris
41
{
42
public
:
43
SGP4
();
44
SGP4
(
const
TLE
& tle);
45
SGP4
(
const
TLELines
& lines);
46
~SGP4
();
47
public
:
48
Frame
*
getFrame
()
const override
;
49
errc_t
getPos
(
const
TimePoint
& tp, Vector3d& pos)
const override
;
50
errc_t
getPosVel
(
const
TimePoint
& tp, Vector3d& pos, Vector3d& vel)
const override
;
51
errc_t getInterval(
TimeInterval
& interval)
const override
;
52
public
:
53
void
setTLE(
const
TLE
& tle);
54
void
setTLE(
const
TLELines
& lines);
55
public
:
57
struct
elsetrec
& elementSet()
const
;
59
int
getError()
const
;
60
private
:
61
mutable
std::aligned_storage<1000>::type storage_{};
62
};
63
66
AST_NAMESPACE_END
TLELines.hpp
TLE 原始行文本容器
TLE.hpp
ast::Ephemeris
星历接口
定义
Ephemeris.hpp:44
ast::Ephemeris::getPos
virtual errc_t getPos(const TimePoint &tp, Vector3d &pos) const override=0
获取点在指定时间点的位置,相对于点的参考坐标系
ast::Ephemeris::getPosVel
virtual errc_t getPosVel(const TimePoint &tp, Vector3d &pos, Vector3d &vel) const override=0
获取点在指定时间点的位置和速度,相对于点的参考坐标系
ast::Ephemeris::getFrame
virtual Frame * getFrame() const override=0
获取点所在的参考坐标系
ast::Frame
坐标系抽象基类
定义
Frame.hpp:62
ast::SGP4
SGP4 预报器
定义
SGP4.hpp:41
ast::TLELines
TLE 原始行文本
定义
TLELines.hpp:40
ast::TLE
两行根数(TLE)
定义
TLE.hpp:52
ast::TimeInterval
时间区间
定义
TimeInterval.hpp:64
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:108
elsetrec
定义
SGP4.h:70
src
AstCore
Propagator
SGP4
SGP4.hpp
制作者
1.12.0