Function practical_astronomy_rust::macros::p_comet_long_lat_dist
source · 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 partlm– Local civil time, minutes partls– Local civil time, seconds partds– Daylight Savings offsetzc– Time zone correction, in hoursdy– Local date, day partmn– Local date, month partyr– Local date, year parttd– 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)