pub enum UndefinedReferenceEllipsoidError {
NotBodyFixed(NonBodyFixedFrameError),
UndefinedSpheroid(UndefinedOriginPropertyError),
}Expand description
Error returned when a frame has no reference ellipsoid.
Variants§
NotBodyFixed(NonBodyFixedFrameError)
The frame is not body-fixed, so no datum is associated with it.
UndefinedSpheroid(UndefinedOriginPropertyError)
The frame’s origin has no spheroid, as for a triaxial body.
Trait Implementations§
Source§impl Error for UndefinedReferenceEllipsoidError
impl Error for UndefinedReferenceEllipsoidError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<NonBodyFixedFrameError> for UndefinedReferenceEllipsoidError
impl From<NonBodyFixedFrameError> for UndefinedReferenceEllipsoidError
Source§fn from(source: NonBodyFixedFrameError) -> Self
fn from(source: NonBodyFixedFrameError) -> Self
Converts to this type from the input type.
Source§impl From<UndefinedOriginPropertyError> for UndefinedReferenceEllipsoidError
impl From<UndefinedOriginPropertyError> for UndefinedReferenceEllipsoidError
Source§fn from(source: UndefinedOriginPropertyError) -> Self
fn from(source: UndefinedOriginPropertyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UndefinedReferenceEllipsoidError
impl RefUnwindSafe for UndefinedReferenceEllipsoidError
impl Send for UndefinedReferenceEllipsoidError
impl Sync for UndefinedReferenceEllipsoidError
impl Unpin for UndefinedReferenceEllipsoidError
impl UnsafeUnpin for UndefinedReferenceEllipsoidError
impl UnwindSafe for UndefinedReferenceEllipsoidError
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, 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.