//astronomy/io.github.cosinekitty.astronomy/eclipticLongitude
fun eclipticLongitude(body: Body, time: Time): Double
Calculates heliocentric ecliptic longitude of a body.
This function calculates the angle around the plane of the Earth's orbit of a celestial body, as seen from the center of the Sun. The angle is measured prograde (in the direction of the Earth's orbit around the Sun) in degrees from the true equinox of date. The ecliptic longitude is always in the range [0, 360).
The ecliptic longitude in degrees of the given body at the given time.
body | A body other than the Sun. |
time | The date and time at which the body's ecliptic longitude is to be calculated. |