resqpy.grid_surface.get_box

resqpy.grid_surface.get_box(mask: ndarray) Tuple[ndarray, int]

Returns a python protocol box enclosing True elements of 3D boolean mask, and count which is zero if all False.