Returns a GridExtent that lines up with this grid' resolution and grid layout.
Returns a RasterExtent that lines up with this RasterExtent's resolution, and grid layout.
Gets the Extent that matches the grid bounds passed in, aligned with this RasterExtent.
The extent to get the grid bounds for
A boolean which controlls the clamping behvior
Tests if the grid is aligned to the extent.
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.