pub struct SelfIntersectionOptions {
pub chord_tolerance: f64,
pub straddle_band: f64,
pub min_crossing_length: f64,
pub weld: f64,
pub max_triangles: usize,
}Expand description
Knobs for solid_self_intersections. SelfIntersectionOptions::for_solid
derives every one from the solid’s own size.
Fields§
§chord_tolerance: f64Tessellation density. The detector resolves nothing finer than this.
straddle_band: f64Signed-distance margin a confirmed crossing must straddle the other carrier surface by, on BOTH sides.
min_crossing_length: f64Shortest mesh crossing segment that counts as a candidate.
weld: f64Coincidence radius for welding tessellation vertices.
max_triangles: usizeRefuse to scan a mesh larger than this (the report comes back
truncated), so a pathological solid cannot hang a gate.
Implementations§
Trait Implementations§
Source§impl Clone for SelfIntersectionOptions
impl Clone for SelfIntersectionOptions
Source§fn clone(&self) -> SelfIntersectionOptions
fn clone(&self) -> SelfIntersectionOptions
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 moreimpl Copy for SelfIntersectionOptions
Source§impl Debug for SelfIntersectionOptions
impl Debug for SelfIntersectionOptions
Auto Trait Implementations§
impl Freeze for SelfIntersectionOptions
impl RefUnwindSafe for SelfIntersectionOptions
impl Send for SelfIntersectionOptions
impl Sync for SelfIntersectionOptions
impl Unpin for SelfIntersectionOptions
impl UnsafeUnpin for SelfIntersectionOptions
impl UnwindSafe for SelfIntersectionOptions
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