pub fn precise_position_of_moon(
    lct_hour: f64,
    lct_min: f64,
    lct_sec: f64,
    is_daylight_saving: bool,
    zone_correction_hours: i32,
    local_date_day: f64,
    local_date_month: u32,
    local_date_year: u32
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
Expand description

Calculate approximate position of the Moon.

§Arguments

  • lct_hour – Local civil time, in hours.
  • lct_min – Local civil time, in minutes.
  • lct_sec – Local civil time, in seconds.
  • is_daylight_saving – Is daylight savings in effect?
  • zone_correction_hours – Time zone correction, in hours.
  • local_date_day – Local date, day part.
  • local_date_month – Local date, month part.
  • local_date_year – Local date, year part.

§Returns

  • moon_ra_hour – Right ascension of Moon (hour part)
  • moon_ra_min – Right ascension of Moon (minutes part)
  • moon_ra_sec – Right ascension of Moon (seconds part)
  • moon_dec_deg – Declination of Moon (degrees part)
  • moon_dec_min – Declination of Moon (minutes part)
  • moon_dec_sec – Declination of Moon (seconds part)
  • earth_moon_dist_km – Distance from Earth to Moon (km)
  • moon_hor_parallax_deg – Horizontal parallax of Moon (degrees)