Return the current RasterData as an array.
Combine two RasterData's cells into new cells using the given integer function.
Combine two RasterData's cells into new cells using the given integer function. For every (x,y) cell coordinate, get each RasterData's integer value, map them to a new value, and assign it to the output's (x,y) cell.
Combine two RasterData's cells into new cells using the given double function.
Combine two RasterData's cells into new cells using the given double function. For every (x,y) cell coordinate, get each RasterData's double value, map them to a new value, and assign it to the output's (x,y) cell.
Return the current RasterData values as a strict (calculated) ArrayRasterData.
Return the current RasterData values as a strict (calculated) ArrayRasterData.
If your RasterData cannot be represented as an array, bad things will happen. If your RasterData is lazy, any deferred calculations will be executed.
For every cell in the given raster, run the given integer function.
For every cell in the given raster, run the given integer function.
The order of the traversal from the lowest to highest columns, across each row, but this should probably not be relied upon. In the future we'd like to be able to parallelize foreach.
For every cell in the given raster, run the given double function.
For every cell in the given raster, run the given double function.
The order of the traversal from the lowest to highest columns, across each row, but this should probably not be relied upon. In the future we'd like to be able to parallelize foreach.
Get a particular (x, y) cell's integer value.
Get a particular (x, y) cell's double value.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Similar to map, except that this method passes through "nodata" cells without calling the provided function.
Similar to map, except that this method passes through "nodata" cells without calling the provided function.
Return a mutable version of the current raster.
(rasterData: StringAdd).self
(rasterData: StringFormat).self
(rasterData: ArrowAssoc[RasterData]).x
(Since version 2.10.0) Use leftOfArrow
instead
(rasterData: Ensuring[RasterData]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
RasterData provides access and update to the grid data of a raster.
Designed to be a near drop-in replacement for Array in many cases.