Struct nyx_space::dynamics::orbital::PointMasses[][src]

pub struct PointMasses {
    pub frame: Frame,
    pub bodies: Vec<ThirdBodyRef>,
    pub cosm: Arc<Cosm>,
    pub correction: LTCorr,
}

PointMasses model

Fields

frame: Frame

The propagation frame

bodies: Vec<ThirdBodyRef>cosm: Arc<Cosm>

Optional point to a Cosm, needed if extra point masses are needed

correction: LTCorr

Light-time correction computation if extra point masses are needed

Implementations

impl PointMasses[src]

pub fn new(
    propagation_frame: Frame,
    body_names: &[Bodies],
    cosm: Arc<Cosm>
) -> Arc<Self>
[src]

Initializes the multibody point mass dynamics with the provided list of bodies

pub fn with_correction(
    propagation_frame: Frame,
    bodies: &[Bodies],
    cosm: Arc<Cosm>,
    correction: LTCorr
) -> Self
[src]

Initializes the multibody point mass dynamics with the provided list of bodies, and accounting for some light time correction

pub fn specific(
    propagation_frame: Frame,
    bodies: &[String],
    cosm: Arc<Cosm>,
    correction: LTCorr
) -> Self
[src]

Allows using bodies by name, defined in the non-default XB

Trait Implementations

impl AccelModel for PointMasses[src]

Auto Trait Implementations

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

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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>,