Skip to main content

solid_least_box

Function solid_least_box 

Source
pub fn solid_least_box(
    solid: &BrepSolid,
    tolerance: f64,
) -> Result<[Vec3; 2], KernelRefusal>
Expand description

The least box with sides square to the axes that holds the solid, as its low and high corners, on its exact geometry (not its control nets): the box round its vertices, the points along each edge where a coordinate is greatest or least, and the points inside each face’s trim where one is (a ball’s or a ring’s side). tolerance (mm) is the band a face’s point may stand past its trim and still count as on the face.