Skip to main content

solid_interference

Function solid_interference 

Source
pub fn solid_interference(
    a: &BrepSolid,
    b: &BrepSolid,
    tolerance: f64,
) -> Result<Interference, KernelRefusal>
Expand description

How a and b meet: the volume of their intersection (the exact boolean’s, 0 when their least boxes lie apart) and, when they share none, the least distance between their boundaries on their exact geometry (crate::solid_gap; 0 where they touch). tolerance (mm) is the band a point may stand past a face’s trim and still count as on it.