pub enum GeometricDefect {
VertexOffCurve {
edge: usize,
error: Scalar,
},
PcurveOffCurve {
loop_id: usize,
use_index: usize,
error: Scalar,
},
UnevaluableCurve {
edge: usize,
},
UnevaluablePcurve {
loop_id: usize,
use_index: usize,
},
UnevaluableSurface {
loop_id: usize,
use_index: usize,
},
}Expand description
One geometric inconsistency, with enough detail to locate it.
Variants§
VertexOffCurve
An edge endpoint does not lie on the edge’s own 3D curve.
Fields
PcurveOffCurve
A pcurve, lifted through its face surface, does not follow the edge.
This is the defect a purely topological audit cannot see: the trim curve resolves and the loop closes, but the face boundary runs somewhere other than the edge it claims to trim.
Fields
UnevaluableCurve
An edge’s 3D curve could not be evaluated on its stated interval.
UnevaluablePcurve
A pcurve could not be evaluated on its stated interval.
Fields
UnevaluableSurface
A face surface could not be evaluated at a pcurve sample.
Trait Implementations§
Source§impl Clone for GeometricDefect
impl Clone for GeometricDefect
Source§fn clone(&self) -> GeometricDefect
fn clone(&self) -> GeometricDefect
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 GeometricDefect
impl Debug for GeometricDefect
Source§impl PartialEq for GeometricDefect
impl PartialEq for GeometricDefect
impl Copy for GeometricDefect
impl StructuralPartialEq for GeometricDefect
Auto Trait Implementations§
impl Freeze for GeometricDefect
impl RefUnwindSafe for GeometricDefect
impl Send for GeometricDefect
impl Sync for GeometricDefect
impl Unpin for GeometricDefect
impl UnwindSafe for GeometricDefect
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