| java.lang.Object org.geotools.caching.quatree.Node
Constructor Summary | |
protected | Node(Region s, int id, Node parent) Constructor : creates a new node descending from another node. | protected | Node(Region s, int id, int maxDepth) Constructor : creates a root node.
Supplied level parameter indicates the maximum height of the tree.
Parameters: s - envelope of new node Parameters: id - of new node Parameters: maxDepth - is the maximum height of the tree. |
childrenVisited | protected boolean childrenVisited(Code) | | |
level | protected int level(Code) | | |
numShapes | protected int numShapes(Code) | | |
shapesData | protected byte[][] shapesData(Code) | | |
shapesId | protected int[] shapesId(Code) | | |
visited | protected boolean visited(Code) | | |
Node | protected Node(Region s, int id, Node parent)(Code) | | Constructor : creates a new node descending from another node.
Parameters: s - envelope of new node Parameters: id - of new node Parameters: parent - node |
Node | protected Node(Region s, int id, int maxDepth)(Code) | | Constructor : creates a root node.
Supplied level parameter indicates the maximum height of the tree.
Parameters: s - envelope of new node Parameters: id - of new node Parameters: maxDepth - is the maximum height of the tree. Must be > 0. |
attach | public void attach(Feature f)(Code) | | Attach features to this node
Parameters: feature - to attach to this node |
attach | public void attach(FeatureCollection features)(Code) | | Attach a list of features to this node
Parameters: list - of features |
getChildrenCount | public int getChildrenCount()(Code) | | |
getIdentifier | public int getIdentifier()(Code) | | |
getLevel | public int getLevel()(Code) | | |
getSubNode | protected Node getSubNode(int index)(Code) | | |
hit | public void hit()(Code) | | Hit node, cause access statistics to be updated.
Actually, hit associated NodeCacheEntry
|
insertData | protected void insertData(byte[] data, int id)(Code) | | |
isIndex | public boolean isIndex()(Code) | | |
isLeaf | public boolean isLeaf()(Code) | | |
isValid | public boolean isValid()(Code) | | |
split | protected void split(double SPLITRATIO)(Code) | | |
splitBounds | public static Region[] splitBounds(Region in, double SPLITRATIO)(Code) | | Splits the specified Envelope
Parameters: in - an Envelope to split an array of 2 Envelopes |
|
|