nyx_space::cosmic

Type Alias Orbit

pub type Orbit = CartesianState;
Expand description

A helper type alias, but no assumptions are made on the underlying validity of the frame.

Aliased Type§

struct Orbit {
    pub radius_km: Matrix<f64, Const<3>, Const<1>, ArrayStorage<f64, 3, 1>>,
    pub velocity_km_s: Matrix<f64, Const<3>, Const<1>, ArrayStorage<f64, 3, 1>>,
    pub epoch: Epoch,
    pub frame: Frame,
}

Fields§

§radius_km: Matrix<f64, Const<3>, Const<1>, ArrayStorage<f64, 3, 1>>

Position radius in kilometers

§velocity_km_s: Matrix<f64, Const<3>, Const<1>, ArrayStorage<f64, 3, 1>>

Velocity in kilometers per second

§epoch: Epoch

Epoch with time scale at which this is valid.

§frame: Frame

Frame in which this Cartesian state lives.