geotrellis.raster

Tile

trait Tile extends IterableTile with MappableTile[Tile]

Base trait for a Tile.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Tile
  2. MappableTile
  3. MacroMappableTile
  4. IterableTile
  5. MacroIterableTile
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cellType: CellType

  2. abstract def cols: Int

  3. abstract def combine(r2: Tile)(f: (Int, Int) ⇒ Int): Tile

  4. abstract def combineDouble(r2: Tile)(f: (Double, Double) ⇒ Double): Tile

  5. abstract def convert(cellType: CellType): Tile

  6. abstract def foreach(f: (Int) ⇒ Unit): Unit

  7. abstract def foreachDouble(f: (Double) ⇒ Unit): Unit

  8. abstract def foreachDoubleVisitor(visitor: macros.DoubleTileVisitor): Unit

    Definition Classes
    MacroIterableTile
  9. abstract def foreachIntVisitor(visitor: macros.IntTileVisitor): Unit

    Definition Classes
    MacroIterableTile
  10. abstract def get(col: Int, row: Int): Int

    Get value at given coordinates.

  11. abstract def getDouble(col: Int, row: Int): Double

    Get value at given coordinates.

  12. abstract def map(f: (Int) ⇒ Int): Tile

  13. abstract def mapDouble(f: (Double) ⇒ Double): Tile

  14. abstract def mapDoubleMapper(mapper: macros.DoubleTileMapper): Tile

    Definition Classes
    MacroMappableTile
  15. abstract def mapIntMapper(mapper: macros.IntTileMapper): Tile

    Definition Classes
    MacroMappableTile
  16. abstract def mutable: MutableArrayTile

    Create a mutable copy of this tile

  17. abstract def rows: Int

  18. abstract def toArray(): Array[Int]

  19. abstract def toArrayDouble(): Array[Double]

  20. abstract def toArrayTile(): ArrayTile

  21. abstract def toBytes(): Array[Byte]

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asciiDraw(): String

    Return ascii art of this raster.

  8. def asciiDrawDouble(significantDigits: Int = Int.MaxValue): String

    Return ascii art of this raster.

    Return ascii art of this raster. The single int parameter indicates the number of significant digits to be printed.

  9. def asciiDrawRange(colMin: Int, colMax: Int, rowMin: Int, rowMax: Int): String

    Return ascii art of a range from this raster.

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def crop(srcExtent: Extent, extent: Extent): Tile

  12. def crop(gb: GridBounds): Tile

  13. def crop(colMin: Int, rowMin: Int, colMax: Int, rowMax: Int): Tile

  14. def crop(cols: Int, rows: Int): Tile

  15. lazy val dimensions: (Int, Int)

  16. def downsample(newCols: Int, newRows: Int)(f: (CellSet) ⇒ Int): Tile

  17. def dualCombine(r2: Tile)(f: (Int, Int) ⇒ Int)(g: (Double, Double) ⇒ Double): Tile

  18. def dualForeach(f: (Int) ⇒ Unit)(g: (Double) ⇒ Unit): Unit

  19. def dualMap(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

  20. def dualMapIfSet(f: (Int) ⇒ Int)(g: (Double) ⇒ Double): Tile

  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def findMinMax: (Int, Int)

    Return tuple of highest and lowest value in raster.

    Return tuple of highest and lowest value in raster.

    Note

    Currently does not support double valued raster data types (TypeFloat, TypeDouble). Calling findMinMax on rasters of those types will give the integer min and max of the rounded values of their cells.

  25. def findMinMaxDouble: (Double, Double)

    Return tuple of highest and lowest value in raster.

  26. def foreach(f: (Int, Int, Int) ⇒ Unit): Unit

    Definition Classes
    IterableTile
  27. def foreachDouble(f: (Int, Int, Double) ⇒ Unit): Unit

    Definition Classes
    IterableTile
  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. val gridBounds: GridBounds

  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def map(f: (Int, Int, Int) ⇒ Int): Tile

    Definition Classes
    MappableTile
  33. def mapDouble(f: (Int, Int, Double) ⇒ Double): Tile

    Definition Classes
    MappableTile
  34. def mapIfSet(f: (Int) ⇒ Int): Tile

  35. def mapIfSetDouble(f: (Double) ⇒ Double): Tile

  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. def normalize(oldMin: Double, oldMax: Double, newMin: Double, newMax: Double): Tile

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    oldMin

    Old mininum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

  38. def normalize(oldMin: Int, oldMax: Int, newMin: Int, newMax: Int): Tile

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    Normalizes the values of this raster, given the current min and max, to a new min and max.

    oldMin

    Old mininum value

    oldMax

    Old maximum value

    newMin

    New minimum value

    newMax

    New maximum value

  39. final def notify(): Unit

    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  41. def rescale(newMin: Double, newMax: Double): Tile

  42. def rescale(newMin: Int, newMax: Int): Tile

  43. lazy val size: Int

  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MappableTile[Tile]

Inherited from MacroMappableTile[Tile]

Inherited from IterableTile

Inherited from MacroIterableTile

Inherited from AnyRef

Inherited from Any

Ungrouped