24#include "AstCore/State.hpp"
25#include "AstMath/Vector.hpp"
26#include "AstCore/OrbitElement.hpp"
35using PStateCartesian = StateCartesian*;
36using HStateCartesian = SharedPtr<StateCartesian>;
65 length_d x()
const {
return cartState_.x(); }
66 length_d y()
const {
return cartState_.y(); }
67 length_d z()
const {
return cartState_.z(); }
68 speed_d vx()
const {
return cartState_.vx(); }
69 speed_d vy()
const {
return cartState_.vy(); }
70 speed_d vz()
const {
return cartState_.vz(); }
71 void setX(length_d x){ cartState_.x() = x; }
72 void setY(length_d y){ cartState_.y() = y; }
73 void setZ(length_d z){ cartState_.z() = z; }
74 void setVx(speed_d vx){ cartState_.vx() = vx; }
75 void setVy(speed_d vy){ cartState_.vy() = vy; }
76 void setVz(speed_d vz){ cartState_.vz() = vz; }
78 CartState cartState_{};
直角坐标
定义 OrbitElement.hpp:46
修正轨道根数
定义 OrbitElement.hpp:131
笛卡尔状态(直角坐标)
定义 StateCartesian.hpp:40
EStateType getStateType() const override
获取状态类型
定义 StateCartesian.hpp:59
static HState MakeShared(EStateType type)
创建状态
定义 State.cpp:41
virtual errc_t getState(CartState &state) const =0
获取状态
virtual errc_t setState(const CartState &state)=0
设置状态
static PState New(EStateType type)
创建状态
定义 State.cpp:51
EStateType
状态类型
定义 State.hpp:39