pub struct Pef<T: IersSystem>(pub T);Expand description
Pseudo-Earth Fixed frame, parameterised by IERS convention.
Tuple Fields§
§0: TTrait Implementations§
impl<T: Copy + IersSystem> Copy for Pef<T>
impl<T: Eq + IersSystem> Eq for Pef<T>
Source§impl<T: IersSystem + Into<ReferenceSystem>> From<Pef<T>> for Frame
impl<T: IersSystem + Into<ReferenceSystem>> From<Pef<T>> for Frame
Source§impl<T> ReferenceEllipsoid for Pef<T>
impl<T> ReferenceEllipsoid for Pef<T>
Source§fn reference_ellipsoid(&self) -> Ellipsoid
fn reference_ellipsoid(&self) -> Ellipsoid
Returns the reference ellipsoid conventionally paired with this frame.
Source§impl<T> ReferenceFrame for Pef<T>
impl<T> ReferenceFrame for Pef<T>
Source§impl<T, P, C> RotateToIcrf<T, P> for Pef<C>where
T: ContinuousTimeScale + Copy,
C: IersSystem + Into<ReferenceSystem> + Copy,
P: RotationProvider<T> + TryOffset<T, Tt> + TryOffset<T, Tdb> + TryOffset<T, Ut1>,
impl<T, P, C> RotateToIcrf<T, P> for Pef<C>where
T: ContinuousTimeScale + Copy,
C: IersSystem + Into<ReferenceSystem> + Copy,
P: RotationProvider<T> + TryOffset<T, Tt> + TryOffset<T, Tdb> + TryOffset<T, Ut1>,
impl<T: PartialEq + IersSystem> StructuralPartialEq for Pef<T>
Auto Trait Implementations§
impl<T> Freeze for Pef<T>where
T: Freeze,
impl<T> RefUnwindSafe for Pef<T>where
T: RefUnwindSafe,
impl<T> Send for Pef<T>where
T: Send,
impl<T> Sync for Pef<T>where
T: Sync,
impl<T> Unpin for Pef<T>where
T: Unpin,
impl<T> UnsafeUnpin for Pef<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Pef<T>where
T: UnwindSafe,
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.