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)

    minKey

    Minimum key of the region, inclusive.

    maxKey

    Maximum key of the region, inclusive.

Value Members

  1. def combine[B >: K](other: Bounds[B])(implicit b: Boundable[B]): KeyBounds[B]

    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
  2. def contains[B >: K](other: Bounds[B])(implicit b: Boundable[B]): Boolean

    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
  3. final def flatMap[B](f: (KeyBounds[K]) ⇒ Bounds[B]): Bounds[B]

    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()
  4. def get: KeyBounds[K]

    Returns non-empty bounds or throws NoSuchElementException

    Returns non-empty bounds or throws NoSuchElementException

    Definition Classes
    KeyBoundsBounds
  5. def getOrElse[B >: K](default: ⇒ KeyBounds[B]): KeyBounds[B]

    Returns non-empty bounds or the default value

    Returns non-empty bounds or the default value

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

    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
  7. def includes[B >: K](key: B)(implicit b: Boundable[B]): Boolean

    Test if the key is included in bounds

    Test if the key is included in bounds

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

    Returns the intersection, if any, between two bounds

    Returns the intersection, if any, between two bounds

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

    Test if two bounds for intersection

    Test if two bounds for intersection

    Definition Classes
    Bounds
  10. def isEmpty: Boolean

    Returns true if this is EmptyBounds

    Returns true if this is EmptyBounds

    Definition Classes
    KeyBoundsBounds
  11. val maxKey: K
  12. val minKey: K
  13. def nonEmpty: Boolean

    Returns false if this is EmptyBounds

    Returns false if this is EmptyBounds

    Definition Classes
    Bounds
  14. def rekey[B >: K](sourceLayout: LayoutDefinition, targetLayout: LayoutDefinition)(implicit arg0: SpatialComponent[B]): KeyBounds[B]
  15. def setSpatialBounds[B >: K](gridBounds: TileBounds)(implicit ev: SpatialComponent[B]): KeyBounds[B]
  16. def setSpatialBounds[B >: K](other: KeyBounds[SpatialKey])(implicit ev: SpatialComponent[B]): KeyBounds[B]

    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
  17. def toOption: Option[KeyBounds[K]]
    Definition Classes
    KeyBoundsBounds