Class/Object

geotrellis.spark

KeyBounds

Related Docs: object KeyBounds | package spark

Permalink

case class KeyBounds[+K](minKey: K, maxKey: K) extends Bounds[K] with Product with Serializable

Represents non-empty region of descrete space. Any key which is greater than or equal to minKey and less then or equal to maxKey in each individual dimension is part of the region described by these Bounds.

minKey

Minimum key of the region, inclusive.

maxKey

Maximum key of the region, inclusive.

Linear Supertypes
Bounds[K], Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyBounds
  2. Bounds
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KeyBounds(minKey: K, maxKey: K)

    Permalink

    minKey

    Minimum key of the region, inclusive.

    maxKey

    Maximum key of the region, inclusive.

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def combine[B >: K](other: Bounds[B])(implicit b: Boundable[B]): KeyBounds[B]

    Permalink

    Combine two regions by creating a region that covers both regions fully

    Combine two regions by creating a region that covers both regions fully

    Definition Classes
    KeyBoundsBounds
  7. def contains[B >: K](other: Bounds[B])(implicit b: Boundable[B]): Boolean

    Permalink

    Test if other bounds are fully contained by this bounds.

    Test if other bounds are fully contained by this bounds. EmptyBounds contain no other bounds but are contained by all non-empty bounds.

    Definition Classes
    KeyBoundsBounds
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def flatMap[B](f: (KeyBounds[K]) ⇒ Bounds[B]): Bounds[B]

    Permalink

    Returns the result of applying f to this Bounds minKey and maxKey if this it is nonempty.

    Returns the result of applying f to this Bounds minKey and maxKey if this it is nonempty. The minKey and maxKeys are given as instance of KeyBounds instead of a tuple. If this Bounds is EmptyBounds it is returned unchanged.

    Definition Classes
    Bounds
    Annotations
    @inline()
  11. def get: KeyBounds[K]

    Permalink

    Returns non-empty bounds or throws NoSuchElementException

    Returns non-empty bounds or throws NoSuchElementException

    Definition Classes
    KeyBoundsBounds
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getOrElse[B >: K](default: ⇒ KeyBounds[B]): KeyBounds[B]

    Permalink

    Returns non-empty bounds or the default value

    Returns non-empty bounds or the default value

    Definition Classes
    Bounds
  14. def include[B >: K](key: B)(implicit b: Boundable[B]): KeyBounds[B]

    Permalink

    Expand bounds to include the key or keep unchanged if it is already included

    Expand bounds to include the key or keep unchanged if it is already included

    Definition Classes
    KeyBoundsBounds
  15. def includes[B >: K](key: B)(implicit b: Boundable[B]): Boolean

    Permalink

    Test if the key is included in bounds

    Test if the key is included in bounds

    Definition Classes
    KeyBoundsBounds
  16. def intersect[B >: K](other: Bounds[B])(implicit b: Boundable[B]): Bounds[B]

    Permalink

    Returns the intersection, if any, between two bounds

    Returns the intersection, if any, between two bounds

    Definition Classes
    KeyBoundsBounds
  17. def intersects[B >: K](other: KeyBounds[B])(implicit b: Boundable[B]): Boolean

    Permalink

    Test if two bounds for intersection

    Test if two bounds for intersection

    Definition Classes
    Bounds
  18. def isEmpty: Boolean

    Permalink

    Returns true if this is EmptyBounds

    Returns true if this is EmptyBounds

    Definition Classes
    KeyBoundsBounds
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def map[B](f: (KeyBounds[K]) ⇒ KeyBounds[B]): Bounds[B]

    Permalink

    Returns the result of applying f to this Bounds minKey and maxKey if this it is nonempty.

    Returns the result of applying f to this Bounds minKey and maxKey if this it is nonempty. The minKey and maxKey are given as instance of KeyBounds instead of a tuple. If this Bounds is EmptyBounds it is returned unchanged.

    Definition Classes
    Bounds
    Annotations
    @inline()
  21. val maxKey: K

    Permalink

    Maximum key of the region, inclusive.

  22. val minKey: K

    Permalink

    Minimum key of the region, inclusive.

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

    Permalink
    Definition Classes
    AnyRef
  24. def nonEmpty: Boolean

    Permalink

    Returns false if this is EmptyBounds

    Returns false if this is EmptyBounds

    Definition Classes
    Bounds
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. def setSpatialBounds[B >: K](gb: GridBounds)(implicit ev: SpatialComponent[B]): KeyBounds[B]

    Permalink
  28. def setSpatialBounds[B >: K](other: KeyBounds[SpatialKey])(implicit ev: SpatialComponent[B]): KeyBounds[B]

    Permalink

    Updates the spatial region of bounds to match that of the argument, leaving other dimensions, if any, unchanged.

    Updates the spatial region of bounds to match that of the argument, leaving other dimensions, if any, unchanged.

    Definition Classes
    KeyBoundsBounds
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toOption: Option[KeyBounds[K]]

    Permalink
    Definition Classes
    KeyBoundsBounds
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Bounds[K]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped