🛰️航天仿真算法库 SpaceAST 0.4.0
载入中...
搜索中...
未找到
航天模块

详细描述

提供航天模块的功能

参见
src/AstCore

专题

 坐标系统
 
 数据读取
 
 ForceModel
 
 几何
 
 轨道计算
 
 轨道几何
 
 轨道预报
 
 太阳系
 
 时间转换
 

类

class  ast::IAtmosphereProvider
 

宏定义

#define AST_IID_IAtmosphereProvider   "space.ast.AstCore.IAtmosphereProvider"
 

函数

Atmosphere * ast::aCreateAtmosphereFromPlugin (StringView name, ScopedPtr< SpaceWeatherProvider > &spaceWeatherProvider)
 
void ast::aGetPluginAtmosphereModelNames (std::vector< std::string > &names)
 

函数说明

◆ aCreateAtmosphereFromPlugin()

AST_CORE_API Atmosphere * ast::aCreateAtmosphereFromPlugin ( StringView name,
ScopedPtr< SpaceWeatherProvider > & spaceWeatherProvider )

按名字创建插件提供的大气模型

参数
name模型名字,来自插件元数据里的索引键
spaceWeatherProvider空间天气数据源
返回
模型实例;未找到或创建失败返回 nullptr。所有权归调用方
注解
插件需要先被发现:调用 aScanPlugins()