pub fn p_comet_long_lat_dist(
    lh: f64,
    lm: f64,
    ls: f64,
    ds: i32,
    zc: i32,
    dy: f64,
    mn: u32,
    yr: u32,
    td: f64,
    tm: u32,
    ty: u32,
    q: f64,
    i: f64,
    p: f64,
    n: f64
) -> (f64, f64, f64)
Expand description

Calculate longitude, latitude, and distance of parabolic-orbit comet.

Original macro names: PcometLong, PcometLat, PcometDist

§Arguments

  • lh – Local civil time, hour part
  • lm – Local civil time, minutes part
  • ls – Local civil time, seconds part
  • ds – Daylight Savings offset
  • zc – Time zone correction, in hours
  • dy – Local date, day part
  • mn – Local date, month part
  • yr – Local date, year part
  • td – Perihelion epoch (day)
  • tm – Perihelion epoch (month)
  • ty – Perihelion epoch (year)
  • q – q (AU)
  • i – Inclination (degrees)
  • p – Perihelion (degrees)
  • n – Node (degrees)

§Returns

  • comet_long_deg – Comet longitude (degrees)
  • comet_lat_deg – Comet lat (degrees)
  • comet_dist_au – Comet distance from Earth (AU)