pub struct ValidationOptions {
pub tolerance_scale: f64,
pub check_orientation: bool,
}Expand description
Options for controlling validation tolerance.
Operations like fillet and shell produce NURBS faces where geometric
checks (normal length, face area) may trigger false positives at
default tolerance. Increasing tolerance_scale relaxes these
thresholds.
Fields§
§tolerance_scale: f64Multiplier applied to geometric tolerances for the face normal
length check and the degenerate face area check. Default is 1.0.
A value of 10.0 means tolerances are 10x more permissive.
check_orientation: boolCheck shell orientation consistency: adjacent faces must traverse
each shared edge in opposite effective senses (is_forward XOR
is_reversed). Defaults to true: construction ops (revolve,
extrude, sweep, loft, pipe), GFA boolean outputs, and blend bands
all emit consistent shells (the orientation-emission campaign).
Trait Implementations§
Source§impl Clone for ValidationOptions
impl Clone for ValidationOptions
Source§fn clone(&self) -> ValidationOptions
fn clone(&self) -> ValidationOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ValidationOptions
impl Debug for ValidationOptions
Auto Trait Implementations§
impl Freeze for ValidationOptions
impl RefUnwindSafe for ValidationOptions
impl Send for ValidationOptions
impl Sync for ValidationOptions
impl Unpin for ValidationOptions
impl UnsafeUnpin for ValidationOptions
impl UnwindSafe for ValidationOptions
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,
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> ⓘ
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> ⓘ
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