#[non_exhaustive]pub enum OverlapError {
NonFinite {
operand: Operand,
},
NotClosed {
operand: Operand,
},
SelfIntersecting {
operand: Operand,
triangles: [u32; 2],
},
NoVolume {
operand: Operand,
},
}Expand description
Why no volume was bracketed.
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
A coordinate is not finite.
NotClosed
The mesh is not a closed, consistently wound two-manifold without degenerate triangles, so it encloses no definite solid.
SelfIntersecting
Two triangles of the mesh intersect other than along shared vertices, so points inside it are not well defined.
NoVolume
The mesh’s enclosed volume is not certified nonzero.
Trait Implementations§
Source§impl Clone for OverlapError
impl Clone for OverlapError
Source§fn clone(&self) -> OverlapError
fn clone(&self) -> OverlapError
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 OverlapError
impl Debug for OverlapError
Source§impl PartialEq for OverlapError
impl PartialEq for OverlapError
impl Copy for OverlapError
impl Eq for OverlapError
impl StructuralPartialEq for OverlapError
Auto Trait Implementations§
impl Freeze for OverlapError
impl RefUnwindSafe for OverlapError
impl Send for OverlapError
impl Sync for OverlapError
impl Unpin for OverlapError
impl UnwindSafe for OverlapError
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