geotrellis

RasterExtent

case class RasterExtent (extent: Extent, cellwidth: Double, cellheight: Double, cols: Int, rows: Int) extends Product with Serializable

RasterExtent objects represent the geographic extent (envelope) of a raster.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RasterExtent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RasterExtent (extent: Extent, cellwidth: Double, cellheight: Double, cols: Int, rows: Int)

Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def canEqual (arg0: Any): Boolean

    Definition Classes
    RasterExtent → Equals
  8. val cellheight : Double

  9. val cellwidth : Double

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val cols : Int

  12. def combine (that: RasterExtent): RasterExtent

    Combine two different GeoAttrs (which must have the same cellsizes).

    Combine two different GeoAttrs (which must have the same cellsizes). The result is a new extent at the same resolution.

    TODO: this version currently warps the grid. we need two versions.

    TODO: relatedly, the translate version should require the grids to be properly aligned.

  13. def compare (other: RasterExtent): Int

    Compare this object with another GeoAttrs object, as per the comparison rules in Extent#compare.

  14. def containsPoint (x: Double, y: Double): Boolean

    Determine if the underlying extent contains the given point.

  15. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def equals (arg0: Any): Boolean

    Definition Classes
    RasterExtent → Equals → AnyRef → Any
  17. val extent : Extent

  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  20. def gridToMap (col: Int, row: Int): (Double, Double)

    The map coordinate of a grid cell is the center point.

  21. def hashCode (): Int

    Definition Classes
    RasterExtent → AnyRef → Any
  22. val height : Double

  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def mapToGrid (mapCoord: (Double, Double)): (Int, Int)

    Convert map coordinate tuple (x,y) to grid coordinates (col,row).

  25. def mapToGrid (x: Double, y: Double): (Int, Int)

    Convert map coordinates (x,y) to grid coordinates (col,row).

  26. def mapToGrid2 (x: Double, y: Double): (Int, Int)

  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def productArity : Int

    Definition Classes
    RasterExtent → Product
  31. def productElement (arg0: Int): Any

    Definition Classes
    RasterExtent → Product
  32. def productIterator : Iterator[Any]

    Definition Classes
    Product
  33. def productPrefix : String

    Definition Classes
    RasterExtent → Product
  34. val rows : Int

  35. def size : Int

    The size of the extent, e.

    The size of the extent, e.g. cols * rows.

  36. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  37. def toString (): String

    Definition Classes
    RasterExtent → AnyRef → Any
  38. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. val width : Double

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any