geotrellis

Extent

case class Extent(xmin: Double, ymin: Double, xmax: Double, ymax: Double) extends Product with Serializable

An Extent represents a rectangular region of geographic space (with a particular projection). It is expressed in map coordinates. It is not concerned with details of e.g. cell sizes (for that, see RasterExtent).

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Extent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Extent(xmin: Double, ymin: Double, xmax: Double, ymax: Double)

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. def asFeature[D](data: D): Polygon[D]

    Return extent as feature.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def combine(other: Extent): Extent

    Return a the smallest extent that contains this extent and the provided extent.

    Return a the smallest extent that contains this extent and the provided extent. This is provides a union of the two extents.

  10. def compare(other: Extent): Int

    Orders two extents by their (geographically) lower-left corner.

    Orders two extents by their (geographically) lower-left corner. The extent that is further south (or west in the case of a tie) comes first.

    If the lower-left corners are the same, the upper-right corners are compared. This is mostly to assure that 0 is only returned when the extents are equal.

    Return type signals:

    -1 this extent comes first 0 the extents have the same lower-left corner 1 the other extent comes first

  11. def containsExtent(other: Extent): Boolean

    Determines whether the given extent is contained within the extent.

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

    Determine whether the given point lies within the extent.

    Determine whether the given point lies within the extent. The boundary is excluded, so that Extent(a, b, c, d) does not contain (a, b).

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. val height: Double

  17. def intersect(other: Extent): Option[Extent]

    Takes the intersection of two extents.

  18. def intersects(other: Extent): Boolean

    Returns true if these extents share at least one point in common.

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def northEast: (Double, Double)

    Return NE corner (xmax, ymax) as tuple.

  22. def northWest: (Double, Double)

    Return NW corner (xmin, ymax) as tuple.

  23. final def notify(): Unit

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

    Definition Classes
    AnyRef
  25. def southEast: (Double, Double)

    Return SE corner (xmax, ymin) as tuple.

  26. def southWest: (Double, Double)

    Return SW corner (xmin, ymin) as tuple.

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

    Definition Classes
    AnyRef
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. val width: Double

  32. val xmax: Double

  33. val xmin: Double

  34. val ymax: Double

  35. val ymin: Double

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped