|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
类 ast::AtmosphereBase 继承关系图:Public 成员函数 | |
| AtmosphereBase (Frame *frame, BodyShape *bodyShape) | |
| double | getDensity (const TimePoint &tp, const Vector3d &posInBodyFixed) const override=0 |
| Frame * | getFrame () const override |
| bool | useApproximateAltitude () const |
| void | setUseApproximateAltitude (bool useApproximateAltitude) |
| void | getGeodetic (const Vector3d &posInBodyFixed, double &latitude, double &longitude, double &altitude) const |
| double | getAltitude (const Vector3d &posInBodyFixed) const |
Public 成员函数 继承自 ast::Atmosphere | |
Protected 属性 | |
| Frame * | frame_ {nullptr} |
| BodyShape * | bodyShape_ {nullptr} |
| bool | useApproximateAltitude_ {false} |
| double ast::AtmosphereBase::getAltitude | ( | const Vector3d & | posInBodyFixed | ) | const |
获取位置的高度
| posInBodyFixed | 当前位置(相对于getFrame()返回的坐标系) |
| altitude | 高度(单位:米),根据是否使用近似高度计算,其返回值不同 |
|
overridepure virtual |
获取大气密度
| tp | 当前时间 |
| posInBodyFixed | 当前位置(相对于getFrame()返回的坐标系) |
实现了 ast::Atmosphere.
在 ast::DTM2012, ast::HarrisPriester, ast::JacchiaRoberts, ast::MSIS86, ast::MSISE90, ast::NRLMSIS00 , 以及 ast::USSA1976 内被实现.
|
inlineoverridevirtual |
获取大气模型的参考坐标系
实现了 ast::Atmosphere.
| void ast::AtmosphereBase::getGeodetic | ( | const Vector3d & | posInBodyFixed, |
| double & | latitude, | ||
| double & | longitude, | ||
| double & | altitude ) const |
获取位置的地理坐标
| posInBodyFixed | 当前位置(相对于getFrame()返回的坐标系) |
| latitude | 纬度(单位:弧度) |
| longitude | 经度(单位:弧度) |
| altitude | 高度(单位:米),根据是否使用近似高度计算,其返回值不同 |