🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::RepeatingOrbitDesigner类 参考final

#include <RepeatingOrbitDesigner.hpp>

+ 类 ast::RepeatingOrbitDesigner 继承关系图:

Public 类型

enum  EPositionType { eAltitude , eRevsPerDay }
 

Public 成员函数

 RepeatingOrbitDesigner (CelestialBody *body)
 
errc_t getOrbitState (ModOrbElem &orbElem) const override
 
EPositionType getPositionType () const
 
void setPositionType (EPositionType type)
 
double getApproxAltitude () const
 
errc_t setApproxAltitude (double alt)
 
double getApproxRevsPerDay () const
 
errc_t setApproxRevsPerDay (double revsPerDay)
 
double getInclination () const
 
void setInclination (double inc)
 
int getNumberOfRevsRepeat () const
 
void setNumberOfRevsRepeat (int revs)
 
double getLongitudeOfAscendingNode () const
 
void setLongitudeOfAscendingNode (double lon)
 
errc_t getOrbitState (CartState &cartState) const
 
errc_t getOrbitState (OrbElem &orbElem) const
 
- Public 成员函数 继承自 ast::BaseOrbitDesigner
 BaseOrbitDesigner (CelestialBody *body)
 
CelestialBodygetCelestialBody () const
 
double getGM () const
 
double getJ2 () const
 
double getBodyRadius () const
 
errc_t getOrbitEpoch (TimePoint &orbitEpoch) const final
 
errc_t getOrbitState (CartState &cartState) const
 
errc_t getOrbitState (OrbElem &orbElem) const
 
errc_t getCoordFrame (bool &useCoordEpoch, TimePoint &coordEpoch, SharedPtr< Frame > &coordFrame) const override
 
- Public 成员函数 继承自 ast::IOrbitDesigner

Protected 属性

EPositionType positionType_ {eAltitude}
 
double approxAltitude_ {0}
 
double approxRevsPerDay_ {0}
 
double inclination_ {0}
 
int numberOfRevsRepeat_ {0}
 
double longitudeOfAscendingNode_ {0}
 
- Protected 属性 继承自 ast::BaseOrbitDesigner
SharedPtr< CelestialBodycelestialBody_
 
TimePoint orbitEpoch_ {}
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 ast::BaseOrbitDesigner
static CelestialBodygetDefaultCelestialBody ()
 

详细描述

回归轨道设计器

成员函数说明

◆ getOrbitState() [1/3]

errc_t ast::BaseOrbitDesigner::getOrbitState ( CartState & cartState) const

获取轨道状态

参数
cartState笛卡尔状态

◆ getOrbitState() [2/3]

errc_t ast::RepeatingOrbitDesigner::getOrbitState ( ModOrbElem & orbElem) const
overridevirtual

获取轨道状态

参数
orbitEpoch轨道历元(可选)
orbElem轨道根数
待办事项
这里目前只支持地球,需要增加对其他天体的支持

重载 ast::BaseOrbitDesigner .

◆ getOrbitState() [3/3]

errc_t ast::BaseOrbitDesigner::getOrbitState ( OrbElem & orbElem) const

获取轨道状态

参数
orbElem轨道根数

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