Packages

class SpatialIndex[T] extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpatialIndex
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpatialIndex(measure: Measure = Measure.Euclidean)

Value Members

  1. def insert(v: T, ex: Extent): Boolean
  2. def insert(v: T, x: Double, y: Double): Boolean
  3. def kNearest(ex: Extent, k: Int): Seq[T]
  4. def kNearest(pt: (Double, Double), k: Int): Seq[T]
  5. def kNearest(x: Double, y: Double, k: Int): Seq[T]
  6. val measure: Measure
  7. def nearest(ex: Extent): T
  8. def nearest(pt: (Double, Double)): T
  9. def nearest(x: Double, y: Double): T
  10. val points: Set[T]
  11. def pointsInExtent(extent: Extent): Vector[T]
  12. def pointsInExtentAsIterable(extent: Extent): Iterable[T]
  13. def pointsInExtentAsJavaList(extent: Extent): List[T]
  14. val rtree: STRtree

Deprecated Value Members

  1. def traversePointsInExtent(extent: Extent): Traversable[T]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.5.3) As of Scala 2.13, Iterable is preferred over Traversable, which will be removed in Scala 3. Use pointsInExtentAsIterable instead.