|
🛰️航天仿真算法库 SpaceAST 0.4.0
|
#include <BlendingAtmosphere.hpp>
类 ast::BlendingAtmosphere 继承关系图:Public 成员函数 | |
| BlendingAtmosphere (Atmosphere *mainModel, Atmosphere *lowAltModel, double blendAltitude, double blendRange) | |
| BlendingAtmosphere (Atmosphere *mainModel, Atmosphere *lowAltModel) | |
| double | getDensity (const TimePoint &tp, const Vector3d &posInBodyFixed) const override |
| Frame * | getFrame () const override |
| BodyShape * | getShape () const override |
| Atmosphere * | mainModel () const |
| void | setMainModel (Atmosphere *mainModel) |
| Atmosphere * | lowAltModel () const |
| void | setLowAltModel (Atmosphere *lowAltModel) |
| double | blendAltitude () const |
| void | setBlendAltitude (double blendAltitude) |
| double | blendRange () const |
| void | setBlendRange (double blendRange) |
Public 成员函数 继承自 ast::Atmosphere | |
额外继承的成员函数 | |
Protected 成员函数 继承自 ast::Atmosphere | |
| double | getAltitude (const Vector3d &posInBodyFixed) const |
主/低高度大气密度模型的混合过渡模型
在过渡高度附近,将"主大气模型"(高高度模型)与"低高度模型"按高度线性混合:
| ast::BlendingAtmosphere::BlendingAtmosphere | ( | Atmosphere * | mainModel, |
| Atmosphere * | lowAltModel, | ||
| double | blendAltitude, | ||
| double | blendRange ) |
构造混合过渡大气模型
| mainModel | 主(高高度)大气模型 |
| lowAltModel | 低高度大气模型 |
| blendAltitude | 过渡带中心高度(单位:米) |
| blendRange | 过渡带宽度(单位:米),≤0 时不做过渡,直接按 blendAltitude 二选一 |
|
overridevirtual |
|
overridevirtual |
获取大气模型的参考坐标系
实现了 ast::Atmosphere.
|
overridevirtual |
获取大气模型对应的天体形状
重载 ast::Atmosphere .