Struct vsop87::VSOP87Elements
[−]
[src]
pub struct VSOP87Elements { pub a: f64, pub l: f64, pub k: f64, pub h: f64, pub q: f64, pub p: f64, }
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
impl Debug for VSOP87Elements
[src]
impl Clone for VSOP87Elements
[src]
fn clone(&self) -> VSOP87Elements
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 VSOP87Elements
[src]
impl PartialEq for VSOP87Elements
[src]
fn eq(&self, __arg_0: &VSOP87Elements) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VSOP87Elements) -> bool
This method tests for !=
.
impl From<KeplerianElements> for VSOP87Elements
[src]
fn from(elts: KeplerianElements) -> VSOP87Elements
Performs the conversion.