Function astro::planet::earth::rho_sin_cos_phi [] [src]

pub fn rho_sin_cos_phi(geograph_lat: f64, height: f64) -> (f64, f64)

Computes two quantities that are used elsewhere in the library

Returns

Rho here denotes the distance from the Earth's center to a point on the ellipsoid, and Phi here denotes the geocentric latitude, both of an observer on the Earth's surface.

rho_sin_phi, rho_cos_phi

Arguments