V
-
public interface IndexedSpatialSet<V extends GeoObject>
extends java.util.Set<V>
Modifier and Type | Method and Description |
---|---|
V |
get(java.lang.Object key)
Gets the object identified by the given key
|
V |
get(java.awt.geom.Point2D point, double tolerance)
Gets the element which is closer to the given point but within the tolerance.
|
java.util.Collection<V> |
getAll(java.awt.geom.Point2D point, double tolerance)
Gets all the elements which distance to the given point is within the tolerance
|
java.util.Collection<V> |
getAnyInteract(java.awt.geom.Area area)
Gets all the elements interacting in some way with the given area
|
java.util.Collection<V> |
getAnyInteract(java.awt.geom.Rectangle2D mbr)
Gets all the elements interacting in some way with the given rectangle
|
AbstractSpatialIndex |
getSpatialindex()
Gets the underlying implementation used to perform spatial-indexing
|
boolean |
refreshIndex(java.lang.Object key)
Rebuilds the index associated to an object identified by the given key
|
boolean refreshIndex(java.lang.Object key)
key
- an object's keyAbstractSpatialIndex getSpatialindex()
V get(java.lang.Object key)
key
- an object's keyV get(java.awt.geom.Point2D point, double tolerance)
point
- a spatial pointtolerance
- the maximum distance an element can be from the point to be selectedjava.util.Collection<V> getAll(java.awt.geom.Point2D point, double tolerance)
point
- a spatial pointtolerance
- tolerance the maximum distance an element can be from the point to be selectedjava.util.Collection<V> getAnyInteract(java.awt.geom.Rectangle2D mbr)
mbr
- a rectanglejava.util.Collection<V> getAnyInteract(java.awt.geom.Area area)
area
- a java area