pub enum PrecessionAngles {
Iau1976 {
zeta: Angle,
z: Angle,
theta: Angle,
},
Iau2000 {
psia: Angle,
oma: Angle,
chia: Angle,
},
Iau2006 {
gamb: Angle,
phib: Angle,
psib: Angle,
epsa: Angle,
},
}Expand description
Precession angles for a specific IAU model.
Variants§
Iau1976
IAU1976 precession angles.
Fields
Iau2000
IAU2000 precession angles.
Fields
Iau2006
IAU2006 Fukushima-Williams precession angles.
Implementations§
Source§impl PrecessionAngles
impl PrecessionAngles
Sourcepub fn iau1976(time: Time<Tt>) -> Self
pub fn iau1976(time: Time<Tt>) -> Self
Computes precession angles using the IAU 1976 (Lieske) model.
Sourcepub fn iau2006(time: Time<Tt>) -> Self
pub fn iau2006(time: Time<Tt>) -> Self
Computes precession angles using the IAU 2006 (Fukushima-Williams) model.
Sourcepub fn bias_precession_matrix(&self) -> DMat3
pub fn bias_precession_matrix(&self) -> DMat3
Returns the combined bias-precession rotation matrix.
Sourcepub fn precession_matrix(&self) -> DMat3
pub fn precession_matrix(&self) -> DMat3
Returns the precession-only rotation from J2000 to the Mean-of-Date (MOD) frame, without the frame bias.
Auto Trait Implementations§
impl Freeze for PrecessionAngles
impl RefUnwindSafe for PrecessionAngles
impl Send for PrecessionAngles
impl Sync for PrecessionAngles
impl Unpin for PrecessionAngles
impl UnsafeUnpin for PrecessionAngles
impl UnwindSafe for PrecessionAngles
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more