Get the position of any celestial body.
The celestial body (Planet enum or CelestialBody enum)
Julian Date
Calculation options
Position of the body
Error if body is not recognized
const sun = getPosition(Planet.Sun, 2451545.0);const trueNode = getPosition(CelestialBody.TrueNorthNode, 2451545.0); Copy
const sun = getPosition(Planet.Sun, 2451545.0);const trueNode = getPosition(CelestialBody.TrueNorthNode, 2451545.0);
Get the position of any celestial body.