spherical

Function spherical 

Source
pub fn spherical(t: f64, tol: f64) -> (f64, f64, f64, f64, f64, f64)
Expand description

Calculate geocentric spherical 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: longitude (rad)
  • out.1: latitude (rad)
  • out.2: distance (km)
  • out.3: longitude’ (rad/day)
  • out.4: latitude’ (rad/day)
  • out.5: distance’ (km/day)