68 BodyAttraction& bodyAttraction();
72 const BodyAttraction& bodyAttraction()
const;
76 EBodyAttractionType bodyAttractionType()
const;
80 void setAttractionType(EBodyAttractionType type);
83 CelestialBody* body()
const;
86 void setBody(CelestialBody* body);
96 EBodyAttractionType attractionType_{EBodyAttractionType::ePointMass};
97 PointMassForce pointMass_{};
98 GravityForce gravity_{};
EEphemerisSource ephemerisSource() const
获取星历来源
定义 ThirdBodyForce.hpp:89
PointMassForce & pointMass()
获取点质量引力模型
定义 ThirdBodyForce.hpp:63
void setEphemerisSource(EEphemerisSource source)
设置星历来源
定义 ThirdBodyForce.hpp:92