pub fn cartesian(t: f64, tol: f64) -> (f64, f64, f64, f64, f64, f64)Expand description
Calculate geocentric rectangular coordinates of the Moon. The frame is dynamical
equinox and ecliptic J2000. The time scale of t is TDB. To speed up, we ignore
terms whose cmpb or cper are smaller than tol.
§Return
- out.0: X (km)
- out.1: Y (km)
- out.2: Z (km)
- out.3: X’ (km/day)
- out.4: Y’ (km/day)
- out.5: Z’ (km/day)