Function astro::planet::geocent_apprnt_ecl_coords
[−]
[src]
pub fn geocent_apprnt_ecl_coords(planet: &Planet, JD: f64) -> (EclPoint, f64)
Computes a planet's geocentric, apparent ecliptic position, corrected for light-time
Returns
(ecl_long, ecl_lat, rad_vec)
planet_ecl_point
: Ecliptic point of the planet | in radiansrad_vec
: Geocentric radius vector of the planet | in AU
The coordinates returned here refer to the apparent position (from Earth) of the planet at the time of interest by correcting the true coordinates for the effect of light-time.
Arguments
planet
: Any variant of PlanetJD
: Julian (Ephemeris) day