geotrellis.vector

Extent

Related Docs: object Extent | package vector

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.

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def &(other: Extent): Option[Extent]

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def area: Double

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buffer(d: Double): Extent

  8. def center: Point

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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.

  11. def compare(other: Extent): Int

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

    Orders two bounding boxes by their (geographically) lower-left corner. The bounding box 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 bounding box comes first 0 the bounding boxes have the same lower-left corner 1 the other bounding box comes first

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

    Tests if the given point lies in or on the envelope.

    Tests if the given point lies in or on the envelope.

    Note

    Note that this is the same definition as the SFS contains, which is unlike the JTS Envelope.contains, which would include the envelope boundary.

  13. def contains(p: Point): Boolean

    Tests if the given point lies in or on the envelope.

    Tests if the given point lies in or on the envelope.

    Note

    Note that this is the same definition as the SFS contains, which is unlike the JTS Envelope.contains, which would include the envelope boundary.

  14. def contains(other: Extent): Boolean

  15. def covers(x: Double, y: Double): Boolean

  16. def covers(p: Point): Boolean

  17. def covers(other: Extent): Boolean

  18. def distance(other: Extent): Double

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

    Definition Classes
    AnyRef
  20. def expandBy(deltaX: Double, deltaY: Double): Extent

  21. def expandBy(distance: Double): Extent

  22. def expandToInclude(x: Double, y: Double): Extent

  23. def expandToInclude(p: Point): Extent

  24. def expandToInclude(other: Extent): Extent

  25. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  27. val height: Double

  28. def intersection(other: Extent): Option[Extent]

  29. def intersects(x: Double, y: Double): Boolean

  30. def intersects(p: Point): Boolean

  31. def intersects(other: Extent): Boolean

  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def max: Point

  34. def maxExtent: Double

  35. def min: Point

  36. def minExtent: Double

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

    Definition Classes
    AnyRef
  38. def northEast: Point

    The NE corner (xmax, ymax) as a Point.

  39. def northWest: Point

    The NW corner (xmin, ymax) as a Point.

  40. final def notify(): Unit

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

    Definition Classes
    AnyRef
  42. def southEast: Point

    The SE corner (xmax, ymin) as a Point.

  43. def southWest: Point

    The SW corner (xmin, ymin) as a Point.

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

    Definition Classes
    AnyRef
  45. def toPolygon(): Polygon

  46. def translate(deltaX: Double, deltaY: Double): Extent

  47. final def wait(): Unit

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

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

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

  51. val xmax: Double

  52. val xmin: Double

  53. val ymax: Double

  54. val ymin: Double

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped