Skip to main content

bounding_box

Function bounding_box 

Source
pub(super) fn bounding_box(
    mask: &[bool],
    (nx, ny, nz): (usize, usize, usize),
) -> Box3
Expand description

The smallest box holding every true voxel (the whole grid if there is none)