|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
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 ( |
String |
getId()
|
boolean |
insert(T item,
Envelope itemEnv)
inserts a new item into the quadtree |
List<T> |
query(Envelope searchEnv,
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 |
---|
String getId()
boolean insert(T item, Envelope itemEnv) throws Exception
item
- (or it's id) which shall be inserted into the quadtree.itemEnv
- the bbox of the item
Exception
- if an error occurred while inserting the specified node.List<T> query(Envelope searchEnv, List<T> visitor, int level) throws Exception
searchEnv
- visitor
- level
-
Exception
- if an error occurred while acquiring all nodes.boolean delete(T item, Envelope itemsEnvelope) throws Exception
item
- (or it's ide) to be deleteditemsEnvelope
- bbox of the item
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.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
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