|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.index.quadtree.Node
public class Node
DOCUMENT ME!
Field Summary | |
---|---|
protected int |
id
|
protected int |
numShapesId
|
protected int[] |
shapesId
|
protected java.util.List |
subNodes
|
Constructor Summary | |
---|---|
Node(com.vividsolutions.jts.geom.Envelope bounds,
int id)
|
Method Summary | |
---|---|
void |
addShapeId(int id)
Add a shape id |
void |
addSubNode(Node node)
DOCUMENT ME! |
void |
clearSubNodes()
|
Node |
copy()
|
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 |
isChildrenVisited()
|
boolean |
isVisited()
|
boolean |
removeSubNode(Node node)
Removes a subnode |
void |
setBounds(com.vividsolutions.jts.geom.Envelope bounds)
DOCUMENT ME! |
void |
setChildrenVisited(boolean childrenVisited)
|
void |
setShapesId(int[] ids)
Sets the shape ids |
void |
setVisited(boolean visited)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int numShapesId
protected int[] shapesId
protected java.util.List subNodes
protected int id
Constructor Detail |
---|
public Node(com.vividsolutions.jts.geom.Envelope bounds, int id)
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()
public boolean isVisited()
public void setVisited(boolean visited)
public boolean isChildrenVisited()
public void setChildrenVisited(boolean childrenVisited)
public Node copy() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |