pub enum FrameKey {
Icrf,
J2000,
Cirf,
Tirf,
Itrf,
Teme,
Mod(ReferenceSystem),
Tod(ReferenceSystem),
Pef(ReferenceSystem),
Iau(NaifId),
}Expand description
Structural identity of a reference frame, used to detect when two frames —
whether expressed concretely or as a Frame — are the
same, without rotating.
Variants§
Icrf
International Celestial Reference Frame.
J2000
J2000 Mean Equator and Equinox.
Cirf
Celestial Intermediate Reference Frame.
Tirf
Terrestrial Intermediate Reference Frame.
Itrf
International Terrestrial Reference Frame.
Teme
True Equator Mean Equinox.
Mod(ReferenceSystem)
Mean of Date for the given IERS convention.
Tod(ReferenceSystem)
True of Date for the given IERS convention.
Pef(ReferenceSystem)
Pseudo-Earth Fixed for the given IERS convention.
Iau(NaifId)
IAU body-fixed frame for the given body.
Trait Implementations§
impl Copy for FrameKey
impl Eq for FrameKey
impl StructuralPartialEq for FrameKey
Auto Trait Implementations§
impl Freeze for FrameKey
impl RefUnwindSafe for FrameKey
impl Send for FrameKey
impl Sync for FrameKey
impl Unpin for FrameKey
impl UnsafeUnpin for FrameKey
impl UnwindSafe for FrameKey
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, O, Tg, P> TryRotation<O, Tg, T> for Pwhere
T: ContinuousTimeScale + Copy,
O: ReferenceFrame + RotateToIcrf<T, P, Error = RotationError>,
Tg: ReferenceFrame + RotateToIcrf<T, P, Error = RotationError>,
impl<T, O, Tg, P> TryRotation<O, Tg, T> for Pwhere
T: ContinuousTimeScale + Copy,
O: ReferenceFrame + RotateToIcrf<T, P, Error = RotationError>,
Tg: ReferenceFrame + RotateToIcrf<T, P, Error = RotationError>,
Source§type Error = RotationError
type Error = RotationError
The error type returned when the rotation cannot be computed.
Source§fn try_rotation(
&self,
origin: O,
target: Tg,
time: Time<T>,
) -> Result<Rotation, <P as TryRotation<O, Tg, T>>::Error>
fn try_rotation( &self, origin: O, target: Tg, time: Time<T>, ) -> Result<Rotation, <P as TryRotation<O, Tg, T>>::Error>
Computes the rotation from
origin to target at the given time.