🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
DataGroupOrbit.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "AstReport/DataGroupTimeVar.hpp"
25
#include "AstCore/Point.hpp"
26
#include "AstMath/Vector.hpp"
27
#include "AstUtil/Span.hpp"
28
29
AST_NAMESPACE_BEGIN
30
38
class
DataGroupOrbit
:
public
DataGroupTimeVar
39
{
40
public
:
41
struct
Data
42
{
43
double
gm_{};
44
Vector3d pos_{};
45
Vector3d vel_{};
46
};
47
DataGroupOrbit
() =
default
;
48
~DataGroupOrbit
() =
default
;
49
public
:
50
errc_t calculate(
const
TimeList
& timeList,
VariantVector
& result)
const override
;
51
public
:
52
errc_t calculate(
const
TimeList
& timeList, std::vector<Data>& result)
const
;
53
errc_t calculate(
const
TimeList
& timeList,
Span<Data>
result)
const
;
54
public
:
55
Point
* getPoint()
const
;
56
Frame
* getFrame()
const
;
57
Body
* getBody()
const
;
58
double
getGM()
const
;
59
private
:
60
WeakPtr<Point>
point_;
61
WeakPtr<Frame>
frame_;
62
WeakPtr<Body>
body_;
63
bool
useBodyInertial_{
true
};
64
};
65
66
69
AST_NAMESPACE_END
ast::CelestialBody
天体
定义
CelestialBody.hpp:72
ast::DataGroupOrbit
轨道数据组
定义
DataGroupOrbit.hpp:39
ast::DataGroupTimeVar
随时间变化的数据组
定义
DataGroupTimeVar.hpp:37
ast::Frame
坐标系类
定义
Frame.hpp:60
ast::Point
定义
Point.hpp:38
ast::Span
非拥有的连续对象序列视图
定义
Span.hpp:71
ast::TimeList
时间点列表
定义
TimeList.hpp:49
ast::VariantVector
变类型向量容器
定义
VariantVector.hpp:59
ast::WeakPtr
弱引用指针
定义
WeakPtr.hpp:35
ast::DataGroupOrbit::Data
定义
DataGroupOrbit.hpp:42
src
AstReport
Data
Impl
DataGroupOrbit.hpp
制作者
1.12.0