Skip to main content

uniform_grid_fits

Function uniform_grid_fits 

Source
pub fn uniform_grid_fits(
    x: &[f32],
    y: &[f32],
    z: &[f32],
    cell_size: f32,
) -> bool
Expand description

Returns whether valid axes and cell size form a grid within the cell cap.

Invalid lengths, coordinates, scales and unrepresentable spans return false.