pub enum ReferenceSystem {
Iers1996,
Iers2003(Iau2000Model),
Iers2010,
}Variants§
Implementations§
Source§impl ReferenceSystem
impl ReferenceSystem
pub fn earth_rotation( &self, tt: Time<Tt>, ut1: Time<Ut1>, corr: Corrections, ) -> DMat3
pub fn greenwich_mean_sidereal_time( &self, tt: Time<Tt>, ut1: Time<Ut1>, ) -> GreenwichMeanSiderealTime
pub fn greenwich_apparent_sidereal_time( &self, tt: Time<Tt>, ut1: Time<Ut1>, corr: Corrections, ) -> GreenwichApparentSiderealTime
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
pub fn polar_motion_matrix( &self, time: Time<Tt>, pole_coords: PoleCoords, ) -> DMat3
Source§impl ReferenceSystem
impl ReferenceSystem
pub fn precession(&self, time: Time<Tt>) -> PrecessionAngles
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
pub fn ecliptic_corrections( &self, corr: Corrections, nut: Nutation, epsa: MeanObliquity, rpb: DMat3, ) -> Corrections
Trait Implementations§
Source§impl Clone for ReferenceSystem
impl Clone for ReferenceSystem
Source§fn clone(&self) -> ReferenceSystem
fn clone(&self) -> ReferenceSystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Mutably borrows from an owned value. Read more
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>
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