Skip to main content

interior_dims

Function interior_dims 

Source
pub fn interior_dims(grid: &ElevationGrid) -> (u32, u32)
Expand description

Interior (source) dimensions of an expanded grid.

The cache stores grids at (W+2) x (H+2). This helper returns the original (W, H) before the border was added.