Function astro::orbit::parabolic::true_anom_and_rad_vec
[−]
[src]
pub fn true_anom_and_rad_vec(t: f64, T: f64, q: f64) -> (f64, f64)
Computes the true anomaly and radius vector of a body in a parabolic orbit at a given time
Returns
(tru_anom, rad_vec)
true_anom
: True anomaly of the body at timet
| in radiansrad_vec
: Radius vector of the body at timet
| in AU
Arguments
t
: Time of interest, in Julian (Ephemeris) dayT
: Time of passage through the perihelion, in Julian (Ephemeris) dayq
: Perihelion distance | in AU