Struct vsop87::VSOP87Elements
source · pub struct VSOP87Elements {
pub a: f64,
pub l: f64,
pub k: f64,
pub h: f64,
pub q: f64,
pub p: f64,
}
Expand description
Elements used by the VSOP87 solution. Can be converted into keplerian elements.
More information can be found here.
Fields§
§a: f64
Semimajor axis in astronomical units (AU).
l: f64
Mean longitude at epoch.
k: f64
`e * lper.cos()``, where e is the eccentricity and lper is the longitude of the perihelion.
h: f64
`e * lper.sin()``, where e is the eccentricity and lper is the longitude of the perihelion (ϖ).
q: f64
(i/2.0).sin() * lan.cos()
where i is inclination and *lan is the longitude of the
ascending node (Ω).
p: f64
(i/2.0).sin() * lan.sin()
where i is inclination and *lan is the longitude of the
ascending node (Ω).
Trait Implementations§
source§impl Clone for VSOP87Elements
impl Clone for VSOP87Elements
source§fn clone(&self) -> VSOP87Elements
fn clone(&self) -> VSOP87Elements
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VSOP87Elements
impl Debug for VSOP87Elements
source§impl From<KeplerianElements> for VSOP87Elements
impl From<KeplerianElements> for VSOP87Elements
source§fn from(elts: KeplerianElements) -> Self
fn from(elts: KeplerianElements) -> Self
Converts to this type from the input type.
source§impl From<VSOP87Elements> for KeplerianElements
impl From<VSOP87Elements> for KeplerianElements
source§fn from(elts: VSOP87Elements) -> Self
fn from(elts: VSOP87Elements) -> Self
Converts to this type from the input type.
source§impl PartialEq for VSOP87Elements
impl PartialEq for VSOP87Elements
source§fn eq(&self, other: &VSOP87Elements) -> bool
fn eq(&self, other: &VSOP87Elements) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VSOP87Elements
impl StructuralPartialEq for VSOP87Elements
Auto Trait Implementations§
impl RefUnwindSafe for VSOP87Elements
impl Send for VSOP87Elements
impl Sync for VSOP87Elements
impl Unpin for VSOP87Elements
impl UnwindSafe for VSOP87Elements
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more