pub enum ReferenceSystem {
Iers1996,
Iers2003(Iau2000Model),
Iers2010,
}Expand description
Dynamic dispatch enum for IERS convention systems.
Variants§
Iers1996
IERS 1996 conventions.
Iers2003(Iau2000Model)
IERS 2003 conventions with the given IAU 2000 model.
Iers2010
IERS 2010 conventions.
Implementations§
Source§impl ReferenceSystem
impl ReferenceSystem
Sourcepub fn earth_rotation(
&self,
tt: Time<Tt>,
ut1: Time<Ut1>,
corr: Corrections,
) -> DMat3
pub fn earth_rotation( &self, tt: Time<Tt>, ut1: Time<Ut1>, corr: Corrections, ) -> DMat3
Returns the Earth rotation matrix for the given times and corrections.
Sourcepub fn greenwich_mean_sidereal_time(
&self,
tt: Time<Tt>,
ut1: Time<Ut1>,
) -> GreenwichMeanSiderealTime
pub fn greenwich_mean_sidereal_time( &self, tt: Time<Tt>, ut1: Time<Ut1>, ) -> GreenwichMeanSiderealTime
Computes Greenwich Mean Sidereal Time (GMST) for the active IERS convention.
Sourcepub fn greenwich_apparent_sidereal_time(
&self,
tt: Time<Tt>,
ut1: Time<Ut1>,
corr: Corrections,
) -> GreenwichApparentSiderealTime
pub fn greenwich_apparent_sidereal_time( &self, tt: Time<Tt>, ut1: Time<Ut1>, corr: Corrections, ) -> GreenwichApparentSiderealTime
Computes Greenwich Apparent Sidereal Time (GAST) for the active IERS convention.
Source§impl ReferenceSystem
impl ReferenceSystem
Sourcepub fn mean_obliquity(&self, time: Time<Tt>) -> MeanObliquity
pub fn mean_obliquity(&self, time: Time<Tt>) -> MeanObliquity
Returns the mean obliquity of the ecliptic for the given IERS convention.
Source§impl ReferenceSystem
impl ReferenceSystem
Sourcepub fn polar_motion_matrix(
&self,
time: Time<Tt>,
pole_coords: PoleCoords,
) -> DMat3
pub fn polar_motion_matrix( &self, time: Time<Tt>, pole_coords: PoleCoords, ) -> DMat3
Returns the polar motion rotation matrix for the given pole coordinates.
Source§impl ReferenceSystem
impl ReferenceSystem
Sourcepub fn precession(&self, time: Time<Tt>) -> PrecessionAngles
pub fn precession(&self, time: Time<Tt>) -> PrecessionAngles
Computes the precession angles for the active IERS convention.
Sourcepub fn bias_precession_matrix(&self, time: Time<Tt>) -> DMat3
pub fn bias_precession_matrix(&self, time: Time<Tt>) -> DMat3
Returns the rotation from ICRF to the Mean-of-Date (MOD) frame for the given IERS convention.
Sourcepub fn precession_matrix(&self, time: Time<Tt>) -> DMat3
pub fn precession_matrix(&self, time: Time<Tt>) -> DMat3
Returns the precession-only rotation from J2000 to the Mean-of-Date (MOD) frame.
Source§impl ReferenceSystem
impl ReferenceSystem
Sourcepub fn ecliptic_corrections(
&self,
corr: Corrections,
nut: Nutation,
epsa: MeanObliquity,
rpb: DMat3,
) -> Corrections
pub fn ecliptic_corrections( &self, corr: Corrections, nut: Nutation, epsa: MeanObliquity, rpb: DMat3, ) -> Corrections
Converts EOP corrections between ecliptic and equatorial representations.
Trait Implementations§
Source§impl Clone for ReferenceSystem
impl Clone for ReferenceSystem
Source§fn clone(&self) -> ReferenceSystem
fn clone(&self) -> ReferenceSystem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReferenceSystem
impl Debug for ReferenceSystem
Source§impl Display for ReferenceSystem
impl Display for ReferenceSystem
Source§impl From<Iers1996> for ReferenceSystem
impl From<Iers1996> for ReferenceSystem
Source§impl From<Iers2003> for ReferenceSystem
impl From<Iers2003> for ReferenceSystem
Source§impl From<Iers2010> for ReferenceSystem
impl From<Iers2010> for ReferenceSystem
Source§impl IersSystem for ReferenceSystem
impl IersSystem for ReferenceSystem
Source§impl PartialEq for ReferenceSystem
impl PartialEq for ReferenceSystem
impl Copy for ReferenceSystem
impl Eq for ReferenceSystem
impl StructuralPartialEq for ReferenceSystem
Auto Trait Implementations§
impl Freeze for ReferenceSystem
impl RefUnwindSafe for ReferenceSystem
impl Send for ReferenceSystem
impl Sync for ReferenceSystem
impl Unpin for ReferenceSystem
impl UnsafeUnpin for ReferenceSystem
impl UnwindSafe for ReferenceSystem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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