[][src]Enum nyx_space::celestia::Frame

pub enum Frame {
    Celestial {
        axb_id: i32,
        exb_id: i32,
        gm: f64,
        parent_axb_id: Option<i32>,
        parent_exb_id: Option<i32>,
    },
    Geoid {
        axb_id: i32,
        exb_id: i32,
        gm: f64,
        parent_axb_id: Option<i32>,
        parent_exb_id: Option<i32>,
        flattening: f64,
        equatorial_radius: f64,
        semi_major_radius: f64,
    },
    VNC,
    RCN,
    RIC,
}

Variants

Celestial

Any celestial frame which only has a GM (e.g. 3 body frames)

Fields of Celestial

axb_id: i32exb_id: i32gm: f64parent_axb_id: Option<i32>parent_exb_id: Option<i32>
Geoid

Any Geoid which has a GM, flattening value, etc.

Fields of Geoid

axb_id: i32exb_id: i32gm: f64parent_axb_id: Option<i32>parent_exb_id: Option<i32>flattening: f64equatorial_radius: f64semi_major_radius: f64
VNC

Velocity, Normal, Cross

RCN

Radial, Cross, Normal

RIC

Radial, in-track, normal

Methods

impl Frame[src]

pub fn is_geoid(&self) -> bool[src]

pub fn is_celestial(&self) -> bool[src]

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

pub fn axb_id(&self) -> i32[src]

pub fn exb_id(&self) -> i32[src]

pub fn parent_axb_id(&self) -> Option<i32>[src]

pub fn parent_exb_id(&self) -> Option<i32>[src]

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

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

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

Trait Implementations

impl Clone for Frame[src]

impl Copy for Frame[src]

impl Debug for Frame[src]

impl Display for Frame[src]

impl PartialEq<Frame> for Frame[src]

impl StructuralPartialEq for Frame[src]

Auto Trait Implementations

impl RefUnwindSafe for Frame

impl Send for Frame

impl Sync for Frame

impl Unpin for Frame

impl UnwindSafe for Frame

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> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,