|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the datatype to be used as idpublic interface Quadtree<T>
Method Summary | |
---|---|
void |
deleteItem(T itemKey)
deletes a specific item from the tree (not the item itself will be deleted, just its reference will be) |
void |
deleteRange(Envelope envelope)
deletes all references of items whose envelope intersects with the passed one ( |
int |
getDepth()
|
Envelope |
getRootBoundingBox()
returns the bounding box covered by the quadtrees root node |
void |
insert(T itemKey,
Envelope envelope)
inserts a new item into the quadtree |
void |
insert(T itemKey,
Point point)
inserts a new item into the quadtree |
java.util.List |
query(Envelope envelope)
returns a List containing all items whose envelope intersects with the passed one |
void |
update(T itemKey,
Envelope newBBox)
updates spacial index of the specified item in the quadtree. |
Method Detail |
---|
void insert(T itemKey, Envelope envelope) throws IndexException
itemKey
- key of the Item to be inserted.envelope
- bbox of the item.
IndexException
void insert(T itemKey, Point point) throws IndexException
itemKey
- key of the Item to be inserted.point
- if the item is a point.
IndexException
java.util.List query(Envelope envelope) throws IndexException
envelope
-
IndexException
void deleteItem(T itemKey) throws IndexException
itemKey
- key of item to be deleted.
IndexException
- if the rootnode cannot be loaded, or the given item does not exist.void update(T itemKey, Envelope newBBox) throws IndexException
itemKey
- the ID of the item.newBBox
- the new BBoundingbox of the item.
IndexException
- if the rootnode cannot be loaded, or the given item does not exist.void deleteRange(Envelope envelope)
envelope
- )
int getDepth()
Envelope getRootBoundingBox() throws IndexException
IndexException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org