pub struct Tirf;Expand description
Terrestrial Intermediate Reference Frame.
Trait Implementations§
impl Copy for Tirf
impl Eq for Tirf
Source§impl ReferenceEllipsoid for Tirf
impl ReferenceEllipsoid for Tirf
Source§fn reference_ellipsoid(&self) -> Ellipsoid
fn reference_ellipsoid(&self) -> Ellipsoid
Returns the reference ellipsoid conventionally paired with this frame.
Source§impl ReferenceFrame for Tirf
impl ReferenceFrame for Tirf
Source§impl<T, P> RotateToIcrf<T, P> for Tirfwhere
T: ContinuousTimeScale + Copy,
P: RotationProvider<T> + TryOffset<T, Tdb> + TryOffset<T, Ut1>,
impl<T, P> RotateToIcrf<T, P> for Tirfwhere
T: ContinuousTimeScale + Copy,
P: RotationProvider<T> + TryOffset<T, Tdb> + TryOffset<T, Ut1>,
impl StructuralPartialEq for Tirf
Auto Trait Implementations§
impl Freeze for Tirf
impl RefUnwindSafe for Tirf
impl Send for Tirf
impl Sync for Tirf
impl Unpin for Tirf
impl UnsafeUnpin for Tirf
impl UnwindSafe for Tirf
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> TryBodyFixed for Twhere
T: BodyFixed,
impl<T> TryBodyFixed for Twhere
T: BodyFixed,
Source§type Origin = <T as BodyFixed>::Origin
type Origin = <T as BodyFixed>::Origin
The coordinate origin (central body) of the body-fixed frame.
Source§fn try_body_fixed(&self) -> Result<(), NonBodyFixedFrameError>
fn try_body_fixed(&self) -> Result<(), NonBodyFixedFrameError>
Returns
Ok(()) if the frame is body-fixed.Source§fn try_origin(
&self,
) -> Result<<T as TryBodyFixed>::Origin, NonBodyFixedFrameError>
fn try_origin( &self, ) -> Result<<T as TryBodyFixed>::Origin, NonBodyFixedFrameError>
Returns the coordinate origin (central body) of the body-fixed frame.
Source§impl<T> TryReferenceEllipsoid for Twhere
T: ReferenceEllipsoid,
impl<T> TryReferenceEllipsoid for Twhere
T: ReferenceEllipsoid,
Source§fn try_reference_ellipsoid(
&self,
) -> Result<Ellipsoid, UndefinedReferenceEllipsoidError>
fn try_reference_ellipsoid( &self, ) -> Result<Ellipsoid, UndefinedReferenceEllipsoidError>
Returns the reference ellipsoid conventionally paired with this frame,
or an error if the frame is not body-fixed or its origin is not a spheroid.
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.