[−][src]Struct vsop87::KeplerianElements
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]
pub fn clone(&self) -> KeplerianElements
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for KeplerianElements
[src]
impl Debug for KeplerianElements
[src]
impl From<KeplerianElements> for VSOP87Elements
[src]
pub fn from(elts: KeplerianElements) -> Self
[src]
impl From<VSOP87Elements> for KeplerianElements
[src]
pub fn from(elts: VSOP87Elements) -> Self
[src]
impl PartialEq<KeplerianElements> for KeplerianElements
[src]
pub fn eq(&self, other: &KeplerianElements) -> bool
[src]
pub fn ne(&self, other: &KeplerianElements) -> bool
[src]
impl StructuralPartialEq for KeplerianElements
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeplerianElements
[src]
impl Send for KeplerianElements
[src]
impl Sync for KeplerianElements
[src]
impl Unpin for KeplerianElements
[src]
impl UnwindSafe for KeplerianElements
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,