|
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 |
interface Node<T>
TODO add documentation here
Method Summary | |
---|---|
boolean |
delete(T item,
Envelope itemsEnvelope)
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 ( |
java.lang.String |
getId()
|
boolean |
insert(T item,
Envelope itemEnv)
inserts a new item into the quadtree |
java.util.List<T> |
query(Envelope searchEnv,
java.util.List<T> visitor,
int level)
returns a List containing all items whose envelope intersects with the passed one |
boolean |
update(T item,
Envelope newBBox)
Updates the spatial reference of the given item. |
Method Detail |
---|
java.lang.String getId()
boolean insert(T item, Envelope itemEnv) throws java.lang.Exception
item
- (or it's id) which shall be inserted into the quadtree.itemEnv
- the bbox of the item
java.lang.Exception
- if an error occurred while inserting the specified node.java.util.List<T> query(Envelope searchEnv, java.util.List<T> visitor, int level) throws java.lang.Exception
searchEnv
- visitor
- level
-
java.lang.Exception
- if an error occurred while acquiring all nodes.boolean delete(T item, Envelope itemsEnvelope) throws java.lang.Exception
item
- (or it's ide) to be deleteditemsEnvelope
- bbox of the item
java.lang.Exception
- if an error occurred while deleting the specified node.boolean update(T item, Envelope newBBox)
item
- which spatial reference in the quadtree should be updated.newBBox
- newBBox the new BBoundingbox of the item.
void deleteRange(Envelope envelope)
envelope
- )
|
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