Skip to main content

grid_dims

Function grid_dims 

Source
pub fn grid_dims(deg: f64) -> (usize, usize)
Expand description

The grid dimensions for a cell size, (ncols, nrows) = ceil(360/deg) × ceil(180/deg). The sweep tools share this with the encoder so their cell counts measure exactly the grid it builds.