#[non_exhaustive]pub enum FallbackReason {
BoundaryNotPlaced,
ReachesPast,
TurnedIn,
VolumeOff,
FoldedSeam,
Overlaps,
MeshesOpen,
BuildFailed,
BoundaryOpen,
Crosses,
SpansShort,
}Expand description
Why a curved region was built as facets instead of on its surface.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BoundaryNotPlaced
Its seams or corners could not be placed on its surface and its neighbours’ within their tolerance.
ReachesPast
Its face, built, reached past the triangles it replaces: its boundary closed on the wrong part of the surface.
TurnedIn
Its face, built, faced into the material, against its triangles.
VolumeOff
The body it is part of did not hold its mesh’s volume, within what its curved faces may add over their facets.
FoldedSeam
One of its seams folded back in its chart, deeper than the seam’s tolerance.
Overlaps
Its face overlapped a face beside it.
MeshesOpen
Its face’s own mesh did not meet its neighbours’: the solid would not tessellate closed.
BuildFailed
Building its face, or meshing or measuring it once built, failed.
BoundaryOpen
Its face’s boundary did not close: a wire’s edges did not meet end to end, or did not close in its surface’s chart.
Crosses
Its face, built, passed through another face of the solid or through itself, away from the edges they share.
SpansShort
Its face, built, had a pcurve standing farther off an edge than the edge is long.
Trait Implementations§
Source§impl Clone for FallbackReason
impl Clone for FallbackReason
impl Copy for FallbackReason
Source§impl Debug for FallbackReason
impl Debug for FallbackReason
Source§impl Display for FallbackReason
impl Display for FallbackReason
impl Eq for FallbackReason
Source§impl Hash for FallbackReason
impl Hash for FallbackReason
Source§impl PartialEq for FallbackReason
impl PartialEq for FallbackReason
impl StructuralPartialEq for FallbackReason
Auto Trait Implementations§
impl Freeze for FallbackReason
impl RefUnwindSafe for FallbackReason
impl Send for FallbackReason
impl Sync for FallbackReason
impl Unpin for FallbackReason
impl UnsafeUnpin for FallbackReason
impl UnwindSafe for FallbackReason
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.