63 BodyAttraction& bodyAttraction();
67 const BodyAttraction& bodyAttraction()
const;
71 EBodyAttractionType bodyAttractionType()
const;
75 void setAttractionType(EBodyAttractionType type);
78 CelestialBody* body()
const;
81 void setBody(CelestialBody* body);
91 EBodyAttractionType attractionType_{EBodyAttractionType::ePointMass};
92 PointMassForce pointMass_{};
93 GravityForce gravity_{};
EEphemerisSource ephemerisSource() const
获取星历来源
定义 ThirdBodyForce.hpp:84
PointMassForce & pointMass()
获取点质量引力模型
定义 ThirdBodyForce.hpp:58
void setEphemerisSource(EEphemerisSource source)
设置星历来源
定义 ThirdBodyForce.hpp:87