Function astro::sun::geocent_ecl_pos [] [src]

pub fn geocent_ecl_pos(JD: f64) -> (EclPoint, f64)

Computes the Sun's geocentric ecliptic position, referred to the mean equinox of the date

Returns

(sun_ecl_point, sun_earth_dist)

  • sun_ecl_point : Ecliptic point of the Sun | in radians
  • sun_earth_dist: Sun-Earth distance | in AU

Arguments

  • JD: Julian (Ephemeris) day