Function astro::orbit::elliptic::ecc_anom
[−]
[src]
pub fn ecc_anom(mean_anom: f64, ecc: f64, accuracy: f64) -> f64
Computes the eccentric anomaly of a body in an elliptic orbit
Returns
ecc_anom
: Eccentric anomaly of the body | in radians
Arguments
mean_anom
: Mean anomaly of the body | in radiansecc
: Eccentricity of the orbitaccuracy
: Desired accuracy for the eccentric anomaly. Eg: 0.000001 gives that much accuracy in radians.