pub enum EdgeReject {
Unsupported,
UnsupportedCurve,
NonUniformScale,
NotAnEdge,
PartialCircle,
StraightConcave,
}Expand description
Why an edge candidate did not resolve. Frontends surface
message verbatim.
Variants§
Unsupported
Proxy/unknown faces, or a face tag that no longer matches its leaf.
UnsupportedCurve
The surfaces intersect in something other than a line or full circle (oblique plane∩cylinder ellipse, cylinder∩cylinder, …).
NonUniformScale
Round faces of two leaves under mismatched anisotropic scales: no single frame makes both surfaces canonical, so their intersection is not a line/circle in any frame. (A single anisotropic leaf — or one paired with planes — resolves in its own frame instead.)
NotAnEdge
The faces don’t meet in a crease on the final solid (miss, parallel, flush, tangent, or fully consumed by booleans).
PartialCircle
The circle exists geometrically but part of it is cut away.
StraightConcave
Straight concave creases are not supported in v1.
Implementations§
Trait Implementations§
Source§impl Clone for EdgeReject
impl Clone for EdgeReject
Source§fn clone(&self) -> EdgeReject
fn clone(&self) -> EdgeReject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EdgeReject
impl Debug for EdgeReject
Source§impl PartialEq for EdgeReject
impl PartialEq for EdgeReject
Source§fn eq(&self, other: &EdgeReject) -> bool
fn eq(&self, other: &EdgeReject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EdgeReject
impl Eq for EdgeReject
impl StructuralPartialEq for EdgeReject
Auto Trait Implementations§
impl Freeze for EdgeReject
impl RefUnwindSafe for EdgeReject
impl Send for EdgeReject
impl Sync for EdgeReject
impl Unpin for EdgeReject
impl UnsafeUnpin for EdgeReject
impl UnwindSafe for EdgeReject
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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>
Converts
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>
Converts
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 more