23#include "AstCore/WeakPtr.hpp"
40 errc_t
evaluate(
const TimePoint& time,
const Vector3d& position,
double& result)
const override;
49 void setShapeModel(BodyShape* shape);
50 BodyShape* getShapeModel()
const {
return shape_.get(); }
54 WeakPtr<CelestialBody> body_;
55 WeakPtr<BodyShape> shape_;
天体
定义 CelestialBody.hpp:72
位置海拔空间计算
定义 SpatialCalcAltitude.hpp:34
void accept(SpatialCalculationVisitor &visitor) override
接受访问者
定义 SpatialCalcAltitude.hpp:39
空间计算访问者接口
定义 SpatialCalculationVisitor.hpp:44
空间计算基类
定义 SpatialCalculation.hpp:35
virtual errc_t evaluate(const TimePoint &time, const Vector3d &position, double &result) const =0
在指定时间和位置评估计算
绝对时间点
定义 TimePoint.hpp:108