|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The basic insertion and query operations supported by classes implementing spatial index algorithms.
A spatial index typically provides a primary filter for range rectangle queries. A secondary filter is required to test for exact intersection. Of course, this secondary filter may consist of other tests besides intersection, such as testing other kinds of spatial relationships.
Method Summary | |
void |
insert(Envelope itemEnv,
java.lang.Object item)
Adds a spatial item with an extent specified by the given Envelope to the index |
java.util.List |
query(Envelope searchEnv)
Queries the index for all items whose extents intersect the given search Envelope
Note that some kinds of indexes may also return objects which do not in fact
intersect the query envelope. |
Method Detail |
public void insert(Envelope itemEnv, java.lang.Object item)
Envelope
to the index
public java.util.List query(Envelope searchEnv)
Envelope
Note that some kinds of indexes may also return objects which do not in fact
intersect the query envelope.
searchEnv
- the envelope to query for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |