24#include "AstCore/Time.hpp"
25#include "AstCore/Object.hpp"
26#include "AstCore/GeodeticPoint.hpp"
27#include "AstCore/CelestialBody.hpp"
28#include "AstSim/MotionProfile.hpp"
29#include "AstSim/MotionWithIntervalStep.hpp"
65 Body* getBody()
const;
100 launchPosition_ =
GeodeticPoint(latitude, longitude, altitude);
121 this->burnoutPosition_ =
GeodeticPoint(latitude, longitude, altitude);
155 TimePoint burnoutTime_{};
156 WeakPtr<CelestialBody> body_{};
157 GeodeticPoint launchPosition_{};
158 GeodeticPoint burnoutPosition_{};
159 double burnoutVelocity_{};
160 double granularity_{};
天体
定义 CelestialBody.hpp:72
大地坐标
定义 GeodeticPoint.hpp:33
定义 MotionProfileVisitor.hpp:44
运动定义接口
定义 MotionProfile.hpp:51
virtual errc_t makeEphemerisSpec(ScopedPtr< Ephemeris > &eph) const =0
生成特定星历
virtual errc_t makeEphemerisSimple(ScopedPtr< Ephemeris > &eph) const =0
生成简单星历
virtual void accept(MotionProfileVisitor &visitor)=0
接受访问者
简单上升运动模型,用于模拟运载火箭的上升阶段运动
定义 MotionSimpleAscent.hpp:43
void setLaunchPosition(double latitude, double longitude, double altitude)
设置发射位置
定义 MotionSimpleAscent.hpp:98
const TimePoint & getLaunchTime() const
获取发射时间
定义 MotionSimpleAscent.hpp:76
double getBurnoutAltitude() const
获取关机高度
定义 MotionSimpleAscent.hpp:134
void setUseScenTime(bool useScenTime)
设置是否使用场景时间
定义 MotionSimpleAscent.hpp:80
double getLaunchLatitude() const
获取发射纬度
定义 MotionSimpleAscent.hpp:105
double getBurnoutLatitude() const
获取关机纬度
定义 MotionSimpleAscent.hpp:126
double getLaunchLongitude() const
获取发射经度
定义 MotionSimpleAscent.hpp:109
void setBody(Body *body)
设置天体
定义 MotionSimpleAscent.hpp:68
void setBurnoutPosition(double latitude, double longitude, double altitude)
设置关机位置
定义 MotionSimpleAscent.hpp:119
void setBurnoutVelocity(double velocity)
设置关机速度
定义 MotionSimpleAscent.hpp:138
void setBurnoutTime(const TimePoint &time)
设置关机时间
定义 MotionSimpleAscent.hpp:88
double getLaunchAltitude() const
获取发射高度
定义 MotionSimpleAscent.hpp:113
const TimePoint & getBurnoutTime() const
获取关机时间
定义 MotionSimpleAscent.hpp:92
double getBurnoutLongitude() const
获取关机经度
定义 MotionSimpleAscent.hpp:130
bool getUseScenTime() const
获取是否使用场景时间
定义 MotionSimpleAscent.hpp:84
double getGranularity() const
获取时间粒度
定义 MotionSimpleAscent.hpp:150
void setLaunchTime(const TimePoint &time)
设置发射时间
定义 MotionSimpleAscent.hpp:72
double getBurnoutVelocity() const
获取关机速度
定义 MotionSimpleAscent.hpp:142
void setGranularity(double granularity)
设置时间粒度
定义 MotionSimpleAscent.hpp:146
作用域指针类
定义 ScopedPtr.hpp:65
绝对时间点
定义 TimePoint.hpp:108