🛰️航天仿真算法库 SpaceAST 0.4.0
载入中...
搜索中...
未找到
Atmosphere.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24
25AST_NAMESPACE_BEGIN
26
47class AST_CORE_API Atmosphere
48{
49public:
50 virtual ~Atmosphere() = default;
51
56 virtual double getDensity(const TimePoint& tp, const Vector3d& posInBodyFixed) const = 0;
57
59 virtual Frame* getFrame() const = 0;
60
62 virtual BodyShape* getShape() const;
63
64protected:
65 double getAltitude(const Vector3d& posInBodyFixed) const;
66};
67
70AST_NAMESPACE_END
大气模型基类
定义 Atmosphere.hpp:48
virtual Frame * getFrame() const =0
获取大气模型的参考坐标系
virtual double getDensity(const TimePoint &tp, const Vector3d &posInBodyFixed) const =0
获取大气密度
天体形状基类
定义 BodyShape.hpp:33
坐标系抽象基类
定义 Frame.hpp:74
绝对时间点
定义 TimePoint.hpp:109