|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.index.quadtree.Node
DOCUMENT ME!
Field Summary | |
protected java.util.List |
subNodes
|
Constructor Summary | |
Node(com.vividsolutions.jts.geom.Envelope bounds)
|
Method Summary | |
void |
addShapeId(int id)
Add a shape id |
void |
addSubNode(Node node)
DOCUMENT ME! |
void |
clearSubNodes()
|
com.vividsolutions.jts.geom.Envelope |
getBounds()
DOCUMENT ME! |
int |
getNumShapeIds()
DOCUMENT ME! |
int |
getNumSubNodes()
DOCUMENT ME! |
int |
getShapeId(int pos)
Gets a shape id |
int[] |
getShapesId()
DOCUMENT ME! |
Node |
getSubNode(int pos)
Gets the Node at the requested position |
boolean |
removeSubNode(Node node)
Removes a subnode |
void |
setBounds(com.vividsolutions.jts.geom.Envelope bounds)
DOCUMENT ME! |
void |
setShapesId(int[] ids)
Sets the shape ids |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List subNodes
Constructor Detail |
public Node(com.vividsolutions.jts.geom.Envelope bounds)
Method Detail |
public com.vividsolutions.jts.geom.Envelope getBounds()
public void setBounds(com.vividsolutions.jts.geom.Envelope bounds)
bounds
- The bounds to set.public int getNumSubNodes()
public int getNumShapeIds()
public void addSubNode(Node node)
node
-
java.lang.NullPointerException
- DOCUMENT ME!public boolean removeSubNode(Node node)
node
- The subnode to remove
public void clearSubNodes()
public Node getSubNode(int pos) throws StoreException
pos
- The position
StoreException
- DOCUMENT ME!public void addShapeId(int id)
id
- public int getShapeId(int pos)
pos
- The position
java.lang.ArrayIndexOutOfBoundsException
- DOCUMENT ME!public void setShapesId(int[] ids)
ids
- public int[] getShapesId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |