Adjusts a raster extent so that it can encompass the tile layout.
Adjusts a raster extent so that it can encompass the tile layout. Will resample the extent, but keep the resolution, and preserve north and west borders
Combine two different RasterExtents (which must have the same cellsizes).
Combine two different RasterExtents (which must have the same cellsizes). The result is a new extent at the same resolution.
Returns a GridExtent that lines up with this grid' resolution and grid layout.
Returns a GridExtent that lines up with this grid' resolution and grid layout.
For example, the resulting GridExtent will not have the given extent, but will have the smallest extent such that the whole of the given extent is covered, that lines up with the grid.
Returns a RasterExtent that lines up with this RasterExtent's resolution, and grid layout.
Returns a RasterExtent that lines up with this RasterExtent's resolution, and grid layout.
For example, the resulting RasterExtent will not have the given extent, but will have the smallest extent such that the whole of the given extent is covered, that lines up with the grid.
Gets the Extent that matches the grid bounds passed in, aligned with this RasterExtent.
Gets the Extent that matches the grid bounds passed in, aligned with this RasterExtent.
The 'clamp' parameter determines whether or not to clamp the Extent to the extent of this RasterExtent; defaults to true. If true, the returned extent will be contained by this RasterExtent's extent, if false, the Extent returned can be outside of this RasterExtent's extent.
The extent to get the grid bounds for
A boolean which controlls the clamping behvior
Gets the GridBounds aligned with this RasterExtent that is the smallest subgrid of containing all points within the extent.
Gets the GridBounds aligned with this RasterExtent that is the smallest subgrid of containing all points within the extent. The extent is considered inclusive on it's north and west borders, exclusive on it's east and south borders. See RasterExtent for a discussion of grid and extent boundary concepts.
The 'clamp' flag determines whether or not to clamp the GridBounds to the RasterExtent; defaults to true. If false, GridBounds can contain negative values, or values outside of this RasterExtent's boundaries.
The extent to get the grid bounds for
A boolean
For a give column, find the corresponding x-coordinate in the grid of the present RasterExtent.
For a give column, find the corresponding x-coordinate in the grid of the present RasterExtent.
For a give row, find the corresponding y-coordinate in the grid of the present RasterExtent.
For a give row, find the corresponding y-coordinate in the grid of the present RasterExtent.
The map coordinate of a grid cell is the center point.
The map coordinate of a grid cell is the center point.
Tests if the grid is aligned to the extent.
Tests if the grid is aligned to the extent. This is true when the extent is evenly divided by cellheight and cellwidth.
Convert a point to grid coordinates (col, row).
Convert a point to grid coordinates (col, row).
Convert map coordinate tuple (x, y) to grid coordinates (col, row).
Convert map coordinate tuple (x, y) to grid coordinates (col, row).
Convert map coordinates (x, y) to grid coordinates (col, row).
Convert map coordinates (x, y) to grid coordinates (col, row).
Convert map coordinate x to grid coordinate column.
Convert map coordinate x to grid coordinate column.
Convert map coordinate x to grid coordinate column.
Convert map coordinate x to grid coordinate column.
Convert map coordinate y to grid coordinate row.
Convert map coordinate y to grid coordinate row.
Convert map coordinate y to grid coordinate row.
Convert map coordinate y to grid coordinate row.
Returns a new RasterExtent which represents the GridBounds in relation to this RasterExtent.
Returns a new RasterExtent which represents the GridBounds in relation to this RasterExtent.
The size of the grid, e.g.
The size of the grid, e.g. cols * rows.
Creates a RasterExtent out of this GridExtent.
Creates a RasterExtent out of this GridExtent.
Use with caution: if the number of columns or rows are larger than Int.MaxValue, this will throw an exception. Also, if columns * rows > Int.MaxValue, this will create a RasterExtent for a raster that could not be backed by any of the Array-backed tile types.
Returns a RasterExtent with the same extent and the given number of columns and rows.
Returns a RasterExtent with the same extent and the given number of columns and rows.
Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.
Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.
Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.
Returns a RasterExtent with the same extent, but a modified number of columns and rows based on the given cell height and width.