Function astro::planet::geocent_geomet_ecl_coords [] [src]

pub fn geocent_geomet_ecl_coords(
    L0: f64,
    B0: f64,
    R0: f64,
    L: f64,
    B: f64,
    R: f64
) -> (f64, f64, f64, f64)

Computes a planet's geocentric, geometric ecliptic position, uncorrected for light-time

Returns

(ecl_long, ecl_lat, rad_vec, light_time)

  • ecl_long: Geometric longitude of the planet | in radians
  • ecl_lat: Geometric latitude of the planet | in radians
  • rad_vec: Geometric radius vector of the planet | in AU
  • light_time: Time taken by light to travel to the Earth from the planet's current position, in days of dynamical time

The coordinates returned here refer to the true position of the planet at the time of interest, and therefore are not corrected for the effect of light-time.

Arguments

  • L0: Heliocentric longitude of the Earth | in radians
  • B0: Heliocentric latitude of the Earth | in radians
  • R0: Heliocentric radius vector of the Earth | in radians
  • L : Heliocentric longitude of the planet | in radians
  • B : Heliocentric latitude of the planet | in radians
  • R : Heliocentric radius vector of the planet | in radians