Struct vsop87::KeplerianElements
[−]
[src]
pub struct KeplerianElements { /* fields omitted */ }
Structure representing the keplerian elements of an orbit.
Methods
impl KeplerianElements
[src]
fn eccentricity(&self) -> f64
Gets the eccentricity of the orbit (e).
A number smaller to one would be a closed ellipse, while 0 would be a circle orbit. Values higher than one would be hyperbolic orbits, that are not closed, while a 1 would be a parabolical orbit. Negative values cannot exist.
fn semimajor_axis(&self) -> f64
Gets the semimajor axis of an orbit (a), in AU (Astronomical units).
This value represents the average distance from the orbiting body to the center of mass.
fn inclination(&self) -> f64
Gets the inclination of the orbit (i), in radians.
This value represents the inclination of the plane where the object is orbiting with respect to the reference plane.
fn ascending_node(&self) -> f64
Gets the longitude of the ascending node of the orbit (Ω), in radians.
This value represents the angle in the orbit ellipse of the point where the reference plane and the orbit plane cross when the orbiting body crosses the plane ascending in the orbit.
fn periapsis(&self) -> f64
Gets the longitude of the periapsis of the orbit (ϖ), in radians.
This value represents the angle in the orbit ellipse of the nearest point of the orbit to the center of mass of the system.
fn mean_anomaly(&self) -> f64
Gets the mean anomaly of the orbiting object at the given epoch.
This value represents the angle in the orbit ellipse of the orbiting body at the given moment.
Trait Implementations
impl Debug for KeplerianElements
[src]
impl Clone for KeplerianElements
[src]
fn clone(&self) -> KeplerianElements
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for KeplerianElements
[src]
impl PartialEq for KeplerianElements
[src]
fn eq(&self, __arg_0: &KeplerianElements) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeplerianElements) -> bool
This method tests for !=
.
impl From<VSOP87Elements> for KeplerianElements
[src]
fn from(elts: VSOP87Elements) -> KeplerianElements
Performs the conversion.