24#include "AstCore/State.hpp"
25#include "AstCore/OrbitElement.hpp"
34using PStateSpherical = StateSpherical*;
35using HStateSpherical = SharedPtr<StateSpherical>;
50 AST_PROPERT(FltPathAng)
51 AST_PROPERT(FltPathAzi)
79 angle_d getRA()
const {
return sphericalElem_.ra_; }
81 void setRA(angle_d ra) { sphericalElem_.ra_ = ra; }
84 angle_d
getDec()
const {
return sphericalElem_.dec_; }
86 void setDec(angle_d dec) { sphericalElem_.dec_ = dec; }
89 length_d
getRadius()
const {
return sphericalElem_.r_; }
91 void setRadius(length_d r) { sphericalElem_.r_ = r; }
104 speed_d
getVel()
const {
return sphericalElem_.v_; }
106 void setVel(speed_d v) { sphericalElem_.v_ = v; }
直角坐标
定义 OrbitElement.hpp:53
修正轨道根数
定义 OrbitElement.hpp:154
球坐标轨道根数
定义 OrbitElement.hpp:386
球坐标状态
定义 StateSpherical.hpp:44
speed_d getVel() const
获取速度大小
定义 StateSpherical.hpp:104
void setRadius(length_d r)
设置地心距
定义 StateSpherical.hpp:91
void setVel(speed_d v)
设置速度大小
定义 StateSpherical.hpp:106
void setRA(angle_d ra)
设置赤经
定义 StateSpherical.hpp:81
angle_d getFltPathAng() const
获取航迹角
定义 StateSpherical.hpp:94
angle_d getFltPathAzi() const
获取航迹方位角
定义 StateSpherical.hpp:99
void setFltPathAng(angle_d fpa)
设置航迹角
定义 StateSpherical.hpp:96
length_d getRadius() const
获取地心距
定义 StateSpherical.hpp:89
void setDec(angle_d dec)
设置赤纬
定义 StateSpherical.hpp:86
EStateType getStateType() const override
获取状态类型
定义 StateSpherical.hpp:63
angle_d getDec() const
获取赤纬
定义 StateSpherical.hpp:84
void setFltPathAzi(angle_d azi)
设置航迹方位角
定义 StateSpherical.hpp:101
void getState(SphericalElem &sphericalElem) const
获取球坐标根数
定义 StateSpherical.hpp:71
static HState MakeShared(EStateType type)
创建状态
定义 State.cpp:46
virtual errc_t getState(CartState &state) const =0
获取状态
virtual errc_t setState(const CartState &state)=0
设置状态
static PState New(EStateType type)
创建状态
定义 State.cpp:56
EStateType
状态类型
定义 State.hpp:39