[][src]Struct vsop87::KeplerianElements

pub struct KeplerianElements { /* fields omitted */ }

Structure representing the keplerian elements of an orbit.

Implementations

impl KeplerianElements[src]

pub fn eccentricity(&self) -> f64[src]

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 parabolic orbit. Negative values cannot exist.

pub fn semimajor_axis(&self) -> f64[src]

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.

pub fn inclination(&self) -> f64[src]

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.

pub fn ascending_node(&self) -> f64[src]

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.

pub fn periapsis(&self) -> f64[src]

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.

pub fn mean_anomaly(&self) -> f64[src]

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 Clone for KeplerianElements[src]

impl Copy for KeplerianElements[src]

impl Debug for KeplerianElements[src]

impl From<KeplerianElements> for VSOP87Elements[src]

impl From<VSOP87Elements> for KeplerianElements[src]

impl PartialEq<KeplerianElements> for KeplerianElements[src]

impl StructuralPartialEq for KeplerianElements[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.