24#include "AstCore/State.hpp"
25#include "AstMath/Vector.hpp"
26#include "AstCore/OrbitElement.hpp"
35using PStateBPlane = StateBPlane*;
36using HStateBPlane = SharedPtr<StateBPlane>;
55 AST_PROPERT(TrueAnomaly)
88 errc_t getRefVector(Vector3d& refVector,
const CartState* cartState =
nullptr)
const;
93 void setRefVector(
EBPlaneRefVector refVectorType,
const Vector3d& refVector = Vector3d::Zero());
102 errc_t getCartesianState(
CartState& state)
const;
105 angle_d getRA()
const {
return bPlaneElem_.ra_; }
107 void setRA(angle_d ra) { bPlaneElem_.ra_ = ra; }
110 angle_d
getDec()
const {
return bPlaneElem_.dec_; }
112 void setDec(angle_d dec) { bPlaneElem_.dec_ = dec; }
115 length_d
getBDotR()
const {
return bPlaneElem_.bDotR_; }
117 void setBDotR(length_d bDotR) { bPlaneElem_.bDotR_ = bDotR; }
120 length_d
getBDotT()
const {
return bPlaneElem_.bDotT_; }
122 void setBDotT(length_d bDotT) { bPlaneElem_.bDotT_ = bDotT; }
125 double getC3()
const {
return bPlaneElem_.c3_; }
127 void setC3(
double c3) { bPlaneElem_.c3_ = c3; }
136 Vector3d refVector_{};
B平面根数
定义 OrbitElement.hpp:349
直角坐标
定义 OrbitElement.hpp:53
修正轨道根数
定义 OrbitElement.hpp:154
B平面状态
定义 StateBPlane.hpp:47
EStateType getStateType() const override
获取状态类型
定义 StateBPlane.hpp:66
void setBDotT(length_d bDotT)
设置B矢量在T轴上的分量
定义 StateBPlane.hpp:122
angle_d getTrueAnomaly() const
获取真近点角
定义 StateBPlane.hpp:130
void getState(BPlaneElem &bPlaneElem) const
获取B平面根数
定义 StateBPlane.hpp:74
length_d getBDotR() const
获取B矢量在R轴上的分量
定义 StateBPlane.hpp:115
angle_d getDec() const
获取入渐近线赤纬
定义 StateBPlane.hpp:110
void setC3(double c3)
设置特征能量
定义 StateBPlane.hpp:127
void setRA(angle_d ra)
设置入渐近线赤经
定义 StateBPlane.hpp:107
void setBDotR(length_d bDotR)
设置B矢量在R轴上的分量
定义 StateBPlane.hpp:117
void setDec(angle_d dec)
设置入渐近线赤纬
定义 StateBPlane.hpp:112
EBPlaneRefVector getRefVectorType() const
获取参考向量类型
定义 StateBPlane.hpp:97
void setTrueAnomaly(angle_d trueA)
设置真近点角
定义 StateBPlane.hpp:132
length_d getBDotT() const
获取B矢量在T轴上的分量
定义 StateBPlane.hpp:120
double getC3() const
获取特征能量
定义 StateBPlane.hpp:125
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
EBPlaneRefVector
B平面参考向量类型
定义 OrbitElement.hpp:957
EStateType
状态类型
定义 State.hpp:39