public abstract class AbstractSpatialIndex
extends java.lang.Object
Constructor and Description |
---|
AbstractSpatialIndex() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
addEntry(GeoObject feature)
Adds an entry to the index
|
abstract boolean |
create(java.util.Properties props)
Creates the index with the specified properties
|
abstract boolean |
create(java.util.Properties props, java.util.List<GeoObject> features)
Creates the index with the input features using their MBR's.
|
java.util.Properties |
getProperties()
Returns the index properties
|
abstract boolean |
removeEntry(GeoObject feature)
Removes an entry from the index
|
abstract java.util.List<GeoObject> |
searchEntries(java.awt.geom.Rectangle2D mbr)
Returns all the entry that interact with the giveb MBR
|
public java.util.Properties getProperties()
public abstract boolean create(java.util.Properties props)
props
-public abstract boolean create(java.util.Properties props, java.util.List<GeoObject> features)
props
-features
-public abstract boolean addEntry(GeoObject feature) throws java.lang.Exception
feature
-java.lang.Exception
public abstract boolean removeEntry(GeoObject feature) throws java.lang.Exception
feature
-java.lang.Exception
public abstract java.util.List<GeoObject> searchEntries(java.awt.geom.Rectangle2D mbr)
mbr
-