#[non_exhaustive]pub enum Delaunay3Error {
NonFinite {
index: usize,
},
OutOfRange {
index: usize,
},
NotFullDimensional {
dimension: Option<usize>,
},
}Expand description
Why a point or a point set was refused.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NonFinite
The point at index has a NaN or infinite coordinate.
OutOfRange
The point at index has a non-zero coordinate whose magnitude lies
outside MIN_COORDINATE..=MAX_COORDINATE, where the exact
predicates cannot be evaluated exactly.
NotFullDimensional
The points span fewer than three dimensions, so there is no
tetrahedron: None for no points, else the affine dimension (0 for
one distinct point, 1 collinear, 2 coplanar).
Trait Implementations§
Source§impl Clone for Delaunay3Error
impl Clone for Delaunay3Error
Source§fn clone(&self) -> Delaunay3Error
fn clone(&self) -> Delaunay3Error
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Delaunay3Error
impl Debug for Delaunay3Error
Source§impl Display for Delaunay3Error
impl Display for Delaunay3Error
Source§impl Error for Delaunay3Error
impl Error for Delaunay3Error
1.30.0 · 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 PartialEq for Delaunay3Error
impl PartialEq for Delaunay3Error
impl Copy for Delaunay3Error
impl Eq for Delaunay3Error
impl StructuralPartialEq for Delaunay3Error
Auto Trait Implementations§
impl Freeze for Delaunay3Error
impl RefUnwindSafe for Delaunay3Error
impl Send for Delaunay3Error
impl Sync for Delaunay3Error
impl Unpin for Delaunay3Error
impl UnwindSafe for Delaunay3Error
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