🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::AtmosphereBase类 参考abstract
+ 类 ast::AtmosphereBase 继承关系图:

Public 成员函数

 AtmosphereBase (Frame *frame, BodyShape *bodyShape)
 
double getDensity (const TimePoint &tp, const Vector3d &posInBodyFixed) const override=0
 
FramegetFrame () 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 属性

Frameframe_ {nullptr}
 
BodyShapebodyShape_ {nullptr}
 
bool useApproximateAltitude_ {false}
 

成员函数说明

◆ getAltitude()

double ast::AtmosphereBase::getAltitude ( const Vector3d & posInBodyFixed) const

获取位置的高度

参数
posInBodyFixed当前位置(相对于getFrame()返回的坐标系)
altitude高度(单位:米),根据是否使用近似高度计算,其返回值不同

◆ getDensity()

double ast::AtmosphereBase::getDensity ( const TimePoint & tp,
const Vector3d & posInBodyFixed ) const
overridepure virtual

获取大气密度

参数
tp当前时间
posInBodyFixed当前位置(相对于getFrame()返回的坐标系)
返回
大气密度(单位:kg/m³)

实现了 ast::Atmosphere.

ast::DTM2012, ast::HarrisPriester, ast::JacchiaRoberts, ast::MSIS86, ast::MSISE90, ast::NRLMSIS00 , 以及 ast::USSA1976 内被实现.

◆ getFrame()

Frame * ast::AtmosphereBase::getFrame ( ) const
inlineoverridevirtual

获取大气模型的参考坐标系

实现了 ast::Atmosphere.

◆ getGeodetic()

void ast::AtmosphereBase::getGeodetic ( const Vector3d & posInBodyFixed,
double & latitude,
double & longitude,
double & altitude ) const

获取位置的地理坐标

参数
posInBodyFixed当前位置(相对于getFrame()返回的坐标系)
latitude纬度(单位:弧度)
longitude经度(单位:弧度)
altitude高度(单位:米),根据是否使用近似高度计算,其返回值不同

该类的文档由以下文件生成: