FIMViz.jsAPI
    Preparing search index...

    Function clipGrid

    • Crop a grid to a bbox (intersected with the grid footprint), snapped to pixel edges → a smaller grid with new bounds. Preserves the pixel array's type.

      Parameters

      • grid: RasterGrid
      • bbox: { east: number; north: number; south: number; west: number }

      Returns RasterGrid