Function astro::planet::heliocent_coords
[−]
[src]
pub fn heliocent_coords(planet: &Planet, JD: f64) -> (f64, f64, f64)
Computes a planet's heliocentric coordinates, referred to the mean equinox of the date
Returns
(long, lat, rad_vec)
long
: Heliocentric longitude | in radianslat
: Heliocentric latitude | in radiansrad_vec
: Heliocentric radius vector | in AU
Arguments
planet
: Any variant of PlanetJD
: Julian (Ephemeris) day