pub struct KernelOptions {
pub snap_tolerance: Option<f64>,
pub winding_rule: WindingRule,
pub simplify_collinear: bool,
}Expand description
Configuration options for the 3D Stratified Tolerance Complex kernel.
Fields§
§snap_tolerance: Option<f64>Base snap tolerance r₀.
When None, the kernel automatically selects a scale-aware tolerance
(1e-9 × bounding_box_diagonal) and caps vertex tolerance ball growth at r_max = 4 × r₀.
winding_rule: WindingRuleWinding rule used to determine inside/outside for each input solid.
Defaults to WindingRule::Positive.
simplify_collinear: boolWhether to collapse collinear degree-2 vertices along output boundary loops.
Defaults to true.
Trait Implementations§
Source§impl Clone for KernelOptions
impl Clone for KernelOptions
impl Copy for KernelOptions
Source§impl Debug for KernelOptions
impl Debug for KernelOptions
Source§impl Default for KernelOptions
impl Default for KernelOptions
Source§impl PartialEq for KernelOptions
impl PartialEq for KernelOptions
impl StructuralPartialEq for KernelOptions
Auto Trait Implementations§
impl Freeze for KernelOptions
impl RefUnwindSafe for KernelOptions
impl Send for KernelOptions
impl Sync for KernelOptions
impl Unpin for KernelOptions
impl UnsafeUnpin for KernelOptions
impl UnwindSafe for KernelOptions
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