Function lupnt::GetBodyGM(BodyId)¶
Defined in File body.cc
Function Documentation¶
-
double lupnt::GetBodyGM(BodyId body)¶
Return the body’s gravitational parameter GM [m^3/s^2] (SI units).
Convenience accessor over
GetBodyDataused e.g. bytime_conversions.ccfor relativistic time-scale corrections and byStateConverterto convert orbital-element states using the correct central-body GM.- Parameters:
body – Body identifier
- Returns:
Gravitational parameter [m^3/s^2]