Function astro::planet::saturn::moon::apprnt_rect_coords
[−]
[src]
pub fn apprnt_rect_coords(JD: f64, moon: &Moon) -> (f64, f64, f64)
Computes the apparent rectangular coordinates for a moon of Saturn
Returns
(X, Y, Z)
The rectangular coordinates returned give the apparent position of a moon
with respect to Saturn as seen from Earth. The X and Y
coordinates are measured from the center of the disk of Saturn, in units
of Saturn's equatorial radius.
X is measured positively to the west of Saturn, and negatively to the
east. The x-axis coincides with Saturn's equator.
Y is measured positively to the north of Saturn, and negatively to
the south. The y-axis coincides with Saturn's axis of rotation.
Z only matters in sign; it is positive if the Earth-moon
distance is greater than the Earth-Saturn distance, and is negative if the
Earth-moon distance is lesser than the Earth-Saturn distance.
Arguments
JD: Julian (Ephemeris) daymoon: The Moon