pub fn grid_bounds(
x: &[f32],
y: &[f32],
z: &[f32],
cell_size: f32,
) -> SpatialResult<([f32; 3], [u32; 3])>Expand description
Returns grid origin (min corner) and cell counts for cell_size.
Axes must have equal lengths and finite coordinates. The cell size must be
positive with a finite reciprocal; positive infinity yields a single cell.
Nonfinite spans and grids exceeding MAX_UNIFORM_GRID_CELLS return errors.
Empty axes retain the infinite origin and unit dimensions.