org.geotools.caching.grid.spatialindex
Class NodeCursor

java.lang.Object
  extended by org.geotools.caching.grid.spatialindex.NodeCursor

public class NodeCursor
extends java.lang.Object

Class allows you to iterator over the nodes that interest a given shape.

Since:
1.2.0
Author:
Emily

Constructor Summary
NodeCursor(GridRootNode root, Shape s)
           
 
Method Summary
 int getChildCount()
          The number of tiles that match the given shape
 NodeIdentifier getNext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCursor

public NodeCursor(GridRootNode root,
                  Shape s)
Method Detail

getChildCount

public int getChildCount()
The number of tiles that match the given shape

Returns:

getNext

public NodeIdentifier getNext()
Returns:
the next node id in the cursor; will return null if no more nodes


Copyright © 1996-2010 Geotools. All Rights Reserved.