Function practical_astronomy_rust::macros::planet_coordinates
source · pub fn planet_coordinates(
lh: f64,
lm: f64,
ls: f64,
ds: i32,
zc: i32,
dy: f64,
mn: u32,
yr: u32,
s: String
) -> (f64, f64, f64, f64, f64, f64, f64)
Expand description
Calculate several planetary properties.
Original macro names: PlanetLong, PlanetLat, PlanetDist, PlanetHLong1, PlanetHLong2, PlanetHLat, PlanetRVect
§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.s
– Planet name.
§Returns
planet_longitude
– Ecliptic longitude, in degrees.planet_latitude
– Ecliptic latitude, in degrees.planet_distance_au
– Earth-planet distance, in AU.planet_h_long1
– Heliocentric orbital longitude, in degrees.planet_h_long2
– NOT USEDplanet_h_lat
– NOT USEDplanet_r_vect
– Sun-planet distance (length of radius vector), in AU.