24#include "AstCore/OrbitElement.hpp"
25#include "AstCore/Frame.hpp"
26#include "AstCore/CelestialBody.hpp"
27#include "AstCore/TimePoint.hpp"
28#include "AstUtil/SharedPtr.hpp"
45 virtual errc_t getOrbitEpoch(
TimePoint& orbitEpoch)
const = 0;
68 using IOrbitDesigner::getOrbitState;
76 double getGM()
const {
return celestialBody_?celestialBody_->getGM(): 0; }
79 double getJ2()
const {
return celestialBody_?celestialBody_->getJ2():0; }
82 double getBodyRadius()
const {
return celestialBody_?celestialBody_->getRadius():0; }
89 errc_t getOrbitState(
CartState &cartState)
const;
93 errc_t getOrbitState(
OrbElem &orbElem)
const;
轨道设计器基类
定义 BaseOrbitDesigner.hpp:62
double getJ2() const
获取J2项
定义 BaseOrbitDesigner.hpp:79
CelestialBody * getCelestialBody() const
获取天体
定义 BaseOrbitDesigner.hpp:73
errc_t getOrbitEpoch(TimePoint &orbitEpoch) const final
获取轨道历元
定义 BaseOrbitDesigner.hpp:85
double getBodyRadius() const
获取天体半径
定义 BaseOrbitDesigner.hpp:82
SharedPtr< CelestialBody > celestialBody_
天体
定义 BaseOrbitDesigner.hpp:97
double getGM() const
获取引力参数
定义 BaseOrbitDesigner.hpp:76
直角坐标
定义 OrbitElement.hpp:46
天体
定义 CelestialBody.hpp:52
轨道设计器接口
定义 BaseOrbitDesigner.hpp:40
virtual errc_t getOrbitState(ModOrbElem &orbElem) const =0
获取轨道状态
virtual errc_t getCoordFrame(bool &useCoordEpoch, TimePoint &coordEpoch, SharedPtr< Frame > &coordFrame) const =0
获取坐标系定义
修正轨道根数
定义 OrbitElement.hpp:127
经典轨道根数
定义 OrbitElement.hpp:85
绝对时间点
定义 TimePoint.hpp:106