object GridExtent extends Serializable
- Alphabetic
- By Inheritance
- GridExtent
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class gridExtentMethods[N] extends AnyRef
Value Members
- def apply[N](extent: Extent, grid: Grid[N])(implicit arg0: Integral[N]): GridExtent[N]
- def apply[N](extent: Extent, cols: N, rows: N)(implicit arg0: Integral[N]): GridExtent[N]
- def apply[N](extent: Extent, cellSize: CellSize)(implicit arg0: Integral[N]): GridExtent[N]
- final val epsilon: Double(1.0E-7)
-
def
floorWithTolerance(value: Double): Double
The same logic is used in QGIS: https://github.com/qgis/QGIS/blob/607664c5a6b47c559ed39892e736322b64b3faa4/src/analysis/raster/qgsalignraster.cpp#L38 The search query: https://github.com/qgis/QGIS/search?p=2&q=floor&type=&utf8=%E2%9C%93
The same logic is used in QGIS: https://github.com/qgis/QGIS/blob/607664c5a6b47c559ed39892e736322b64b3faa4/src/analysis/raster/qgsalignraster.cpp#L38 The search query: https://github.com/qgis/QGIS/search?p=2&q=floor&type=&utf8=%E2%9C%93
GDAL uses smth like that, however it was a bit hard to track it down: https://github.com/OSGeo/gdal/blob/7601a637dfd204948d00f4691c08f02eb7584de5/gdal/frmts/vrt/vrtsources.cpp#L215
-
implicit
def
gridBoundsIntToLong(bounds: GridBounds[Int]): GridBounds[Long]
RasterSource interface reads GridBounds[Long] but GridBounds[Int] abounds.
RasterSource interface reads GridBounds[Long] but GridBounds[Int] abounds. Implicit conversions are evil, but this one is always safe and saves typing.