|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.quadtree.MemPointQuadtree
public class MemPointQuadtree
MemPointQuadtree is a memory based quadtree implementation for points.
| Field Summary | |
|---|---|
(package private) int |
maxDepth
|
| Constructor Summary | |
|---|---|
MemPointQuadtree(Envelope region)
Creates a new instance with the specified region. |
|
MemPointQuadtree(Envelope region,
double accuracyX,
double accuracyY)
Creates a new instance with the specified region. |
|
| Method Summary | |
|---|---|
void |
deleteItem(Object item)
Deletes the item from the quadtree. |
void |
deleteRange(Envelope envelope)
Deletes all items intersecting the envelope. |
int |
getDepth()
|
Envelope |
getRootBoundingBox()
returns the bounding box covered by the quadtrees root node |
void |
insert(Object item,
Envelope envelope)
Inserts the item with the envelope into the quadtree. |
void |
insert(Object item,
Point point)
Inserts the item with the given point as envelope. |
List |
query(Envelope envelope)
Searches for all items intersecting with the envelope. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int maxDepth
| Constructor Detail |
|---|
public MemPointQuadtree(Envelope region)
region -
public MemPointQuadtree(Envelope region,
double accuracyX,
double accuracyY)
region - accuracyX - accuracyY - | Method Detail |
|---|
public void insert(Object item,
Envelope envelope)
throws IndexException
insert in interface Quadtreeitem - envelope -
IndexException
public void insert(Object item,
Point point)
throws IndexException
insert in interface Quadtreeitem - point -
IndexException
public List query(Envelope envelope)
throws IndexException
query in interface Quadtreeenvelope -
IndexExceptionpublic void deleteItem(Object item)
deleteItem in interface Quadtreeitem - the item to be deletedpublic void deleteRange(Envelope envelope)
deleteRange in interface Quadtreeenvelope - )public int getDepth()
getDepth in interface Quadtree
public Envelope getRootBoundingBox()
throws IndexException
Quadtree
getRootBoundingBox in interface QuadtreeIndexException
|
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net