o

geotrellis.layer

EmptyBounds

object EmptyBounds extends Bounds[Nothing] with Product with Serializable

Represents empty region of space. Empty region contains no possible key.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyBounds
  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

Value Members

  1. def combine[B](other: Bounds[B])(implicit b: Boundable[B]): Bounds[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
    EmptyBoundsBounds
  2. def contains[B](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
    EmptyBoundsBounds
  3. final def flatMap[B](f: (KeyBounds[Nothing]) ⇒ 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: Nothing

    Returns non-empty bounds or throws NoSuchElementException

    Returns non-empty bounds or throws NoSuchElementException

    Definition Classes
    EmptyBoundsBounds
  5. def getOrElse[B >: Nothing](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](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
    EmptyBoundsBounds
  7. def includes[B](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
    EmptyBoundsBounds
  8. def intersect[B](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
    EmptyBoundsBounds
  9. def intersects[B >: Nothing](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
    EmptyBoundsBounds
  11. def nonEmpty: Boolean

    Returns false if this is EmptyBounds

    Returns false if this is EmptyBounds

    Definition Classes
    Bounds
  12. def setSpatialBounds[B](other: KeyBounds[SpatialKey])(implicit ev: SpatialComponent[B]): Bounds[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
    EmptyBoundsBounds
  13. def toOption: None.type
    Definition Classes
    EmptyBoundsBounds