
geotrellis.raster.CellGrid.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-raster_2.10 Show documentation
Show all versions of geotrellis-raster_2.10 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
package geotrellis.raster
/**
* The trait from which [[Tile]]s are derived.
*/
trait CellGrid extends Serializable {
def cols: Int
def rows: Int
def cellType: CellType
def dimensions: (Int, Int) = (cols, rows)
def gridBounds: GridBounds = GridBounds(0, 0, cols - 1, rows - 1)
def size = cols * rows
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy