Class/Object

geotrellis.vector

Extent

Related Docs: object Extent | package vector

Permalink

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

A rectangular region of geographic space

xmin

The minimum x coordinate

ymin

The minimum y coordinate

xmax

The maximum x coordinate

ymax

The maximum y coordinate

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    xmin

    The minimum x coordinate

    ymin

    The minimum y coordinate

    xmax

    The maximum x coordinate

    ymax

    The maximum y coordinate

Value Members

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

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

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

    Permalink

    Create an optional extent which represents the intersection with a provided extent

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

    Permalink
    Definition Classes
    AnyRef → Any
  5. def area: Double

    Permalink

    The area of this extent

  6. final def asInstanceOf[T0]: T0

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

    Permalink

    Create a new extent using a buffer around this extent

  8. def center: Point

    Permalink

    The centroid of this extent

  9. def clone(): AnyRef

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

    Permalink

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

  11. def compare(other: Extent): Int

    Permalink

    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

    Permalink

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

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

    Note

    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

    Permalink

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

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

    Note

    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

    Permalink

    Empty extent contains nothing, though non empty extent contains iteslf

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

    Permalink

    Predicate for whether this extent covers a point

  16. def covers(p: Point): Boolean

    Permalink

    Predicate for whether this extent covers a point

  17. def covers(other: Extent): Boolean

    Permalink

    Predicate for whether this extent covers another

  18. def distance(other: Extent): Double

    Permalink

    Distance from another extent

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

    Permalink
    Definition Classes
    AnyRef
  20. def equals(o: Any): Boolean

    Permalink

    Equality check against this extent

    Equality check against this extent

    Definition Classes
    Extent → Equals → AnyRef → Any
    Note

    only returns true given another extent

  21. def expandBy(deltaX: Double, deltaY: Double): Extent

    Permalink

    Return an extent of this extent expanded by the provided x and y distances

  22. def expandBy(distance: Double): Extent

    Permalink

    Return an extent of this extent expanded by the provided distance on all sides

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

    Permalink

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

  24. def expandToInclude(p: Point): Extent

    Permalink

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

  25. def expandToInclude(other: Extent): Extent

    Permalink

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

  26. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Permalink
    Definition Classes
    Extent → AnyRef → Any
  29. val height: Double

    Permalink
  30. def interiorIntersects(other: Extent): Boolean

    Permalink

    Predicate for whether this extent intersects the interior of another

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

    Permalink

    Create an optional extent which represents the intersection with a provided extent

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

    Permalink

    Predicate for whether this extent intersects the specified point

  33. def intersects(p: Point): Boolean

    Permalink

    Predicate for whether this extent intersects another

  34. def intersects(other: Extent): Boolean

    Permalink

    Predicate for whether this extent intersects another

  35. def isEmpty: Boolean

    Permalink

    Predicate for whether this extent has 0 area

  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def jtsEnvelope: Envelope

    Permalink
  38. def max: Point

    Permalink
  39. def maxExtent: Double

    Permalink

    The maximum between the height and width of this extent

  40. def min: Point

    Permalink
  41. def minExtent: Double

    Permalink

    The minimum between the height and width of this extent

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

    Permalink
    Definition Classes
    AnyRef
  43. def northEast: Point

    Permalink

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

  44. def northWest: Point

    Permalink

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

  45. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. def southEast: Point

    Permalink

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

  48. def southWest: Point

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  50. def toPolygon(): Polygon

    Permalink

    Return this extent as a polygon

  51. def toString(): String

    Permalink
    Definition Classes
    Extent → AnyRef → Any
  52. def translate(deltaX: Double, deltaY: Double): Extent

    Permalink

    Return this extent moved x and y amounts

  53. final def wait(): Unit

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

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

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

    Permalink
  57. val xmax: Double

    Permalink

    The maximum x coordinate

  58. val xmin: Double

    Permalink

    The minimum x coordinate

  59. val ymax: Double

    Permalink

    The maximum y coordinate

  60. val ymin: Double

    Permalink

    The minimum y coordinate

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped