24#include "AstUtil/Object.hpp"
40 ~Point()
override =
default;
68 errc_t getPosIn(
Frame* frame,
const TimePoint& tp, Vector3d& pos)
const;
76 errc_t getPosVelIn(
Frame* frame,
const TimePoint& tp, Vector3d& pos, Vector3d& vel)
const;
天体
定义 CelestialBody.hpp:52
对象基类,继承自该类的对象可以使用运行时类型信息相关功能,实现强弱引用计数、运行时元信息(属性访问、序列化等)等基础功能
定义 Object.hpp:81
virtual Frame * getFrame() const =0
获取点所在的参考坐标系
virtual errc_t getPosVel(const TimePoint &tp, Vector3d &pos, Vector3d &vel) const =0
获取点在指定时间点的位置和速度,相对于点的参考坐标系
virtual errc_t getPos(const TimePoint &tp, Vector3d &pos) const =0
获取点在指定时间点的位置,相对于点的参考坐标系
绝对时间点
定义 TimePoint.hpp:106