[][src]Struct nyx_space::celestia::Euler3AxisDt

pub struct Euler3AxisDt<'a> {
    pub base_context: Context<'a>,
    pub rot_order: [(EulerRotation, Expr); 3],
    pub unit: AngleUnit,
    pub is_ra_dec_w: bool,
}

A time varying three-axis Euler rotation

Fields

base_context: Context<'a>rot_order: [(EulerRotation, Expr); 3]unit: AngleUnitis_ra_dec_w: bool

Methods

impl<'a> Euler3AxisDt<'a>[src]

pub fn from_euler_angles(
    first_rot: (EulerRotation, Expr),
    second_rot: (EulerRotation, Expr),
    third_rot: (EulerRotation, Expr),
    context: &HashMap<String, f64>,
    unit: AngleUnit
) -> Self
[src]

Specify how to compute this frame from the provided Euler angles and their time varying expressions. Note that these angles define how to go from THIS frame TO the PARENT frame (e.g. Sun fixed to ICRF).

pub fn from_ra_dec_w(
    alpha_right_asc: Expr,
    delta_declin: Expr,
    w: Expr,
    context: &HashMap<String, f64>,
    unit: AngleUnit
) -> Self
[src]

A time varying Right ascension, Declination, and W frame Conversion TO parent frame (e.g. Sun body to ICRF) defined as: R3(-(alpha-90 deg)) * R1(delta - 90 deg) * R3(-W) Where alpha is the right ascension and delta the declination

Trait Implementations

impl<'a> Debug for Euler3AxisDt<'a>[src]

impl<'a> ParentRotation for Euler3AxisDt<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Euler3AxisDt<'a>

impl<'a> !Send for Euler3AxisDt<'a>

impl<'a> !Sync for Euler3AxisDt<'a>

impl<'a> Unpin for Euler3AxisDt<'a>

impl<'a> !UnwindSafe for Euler3AxisDt<'a>

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