Function astro::lunar::illum_frac_frm_eq_coords
[−]
[src]
pub fn illum_frac_frm_eq_coords(sun_eq_point: &EqPoint, moon_eq_point: &EqPoint, earth_moon_dist: f64, earth_sun_dist: f64) -> f64
Computes the illuminated fraction of the lunar disk, using equatorial coordinates
Arguments
sun_eq_point
: Equatorial coordinate of the Sun | in radiansmoon_eq_point
: Equatorial coordinate of the Moon | in radiansearth_moon_dist
: Earth-Moon distance (in any unit, but same as that ofearth_sun_dist
)earth_sun_dist
: Earth-Sun distance (in any unit, but same as that ofearth_moon_dist
)