pub enum IodError {
DeterminantTooSmall,
OrbitNotPossible,
ZeroVector,
CollinearVectors,
NotCoplanar,
InvalidTimeGeometry,
NoPositiveRoot,
RootSolveFailed,
NonFiniteValue,
}Expand description
Error returned by the initial-orbit-determination methods.
Variants§
DeterminantTooSmall
The line-of-sight matrix determinant is too small to invert (degenerate geometry).
OrbitNotPossible
The position vectors do not admit an orbit solution (degenerate D or N vector in the Gibbs construction).
ZeroVector
A supplied position vector has (near) zero magnitude, so it cannot be normalized.
CollinearVectors
The two position vectors whose cross product is normalized for the coplanarity check are collinear, leaving the coplanarity angle undefined.
NotCoplanar
The three position vectors are not sufficiently coplanar to define a single orbit.
InvalidTimeGeometry
The observation times are equal or near-equal, so the time geometry is degenerate (zero denominators).
NoPositiveRoot
The Gauss radius polynomial’s root is non-positive or outside the
supported geocentric-radius range (see gauss_angles).
RootSolveFailed
The Gauss radius root solver failed numerically (degenerate Halley denominator, non-finite iterate, or no convergence within the iteration cap), so no trustworthy root is available.
NonFiniteValue
An intermediate or output value was not finite (NaN or infinity).
Trait Implementations§
impl Copy for IodError
impl Eq for IodError
Source§impl Error for IodError
impl Error for IodError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl StructuralPartialEq for IodError
Auto Trait Implementations§
impl Freeze for IodError
impl RefUnwindSafe for IodError
impl Send for IodError
impl Sync for IodError
impl Unpin for IodError
impl UnsafeUnpin for IodError
impl UnwindSafe for IodError
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
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.