| |
|
| java.lang.Object org.geotools.index.quadtree.Node
All known Subclasses: org.geotools.index.quadtree.fs.FileSystemNode,
Node | public class Node (Code) | | DOCUMENT ME!
author: Tommaso Nolli |
Constructor Summary | |
public | Node(Envelope bounds, int id, Node parent) |
numShapesId | protected int numShapesId(Code) | | |
shapesId | protected int[] shapesId(Code) | | |
Node | public Node(Envelope bounds, int id, Node parent)(Code) | | |
addShapeId | public void addShapeId(int id)(Code) | | Add a shape id
Parameters: id - |
clearSubNodes | public void clearSubNodes()(Code) | | |
getBounds | public Envelope getBounds()(Code) | | DOCUMENT ME!
Returns the bounds. |
getNumShapeIds | public int getNumShapeIds()(Code) | | DOCUMENT ME!
Returns the number of records stored. |
getNumSubNodes | public int getNumSubNodes()(Code) | | DOCUMENT ME!
Returns the numSubNodes. |
getShapeId | public int getShapeId(int pos)(Code) | | Gets a shape id
Parameters: pos - The position The shape id (or recno) at the requested position throws: ArrayIndexOutOfBoundsException - DOCUMENT ME! |
getShapesId | public int[] getShapesId()(Code) | | DOCUMENT ME!
Returns the shapesId. |
isChildrenVisited | public boolean isChildrenVisited()(Code) | | |
isVisited | public boolean isVisited()(Code) | | |
removeSubNode | public boolean removeSubNode(Node node)(Code) | | Removes a subnode
Parameters: node - The subnode to remove true if the subnode has been removed |
setBounds | public void setBounds(Envelope bounds)(Code) | | DOCUMENT ME!
Parameters: bounds - The bounds to set. |
setChildrenVisited | public void setChildrenVisited(boolean childrenVisited)(Code) | | |
setShapesId | public void setShapesId(int[] ids)(Code) | | Sets the shape ids
Parameters: ids - |
setVisited | public void setVisited(boolean visited)(Code) | | |
|
|
|