Class AbstractBSPTree.NodeIterator<P extends Point<P>,N extends AbstractBSPTree.AbstractNode<P,N>>

java.lang.Object
org.apache.commons.geometry.core.partitioning.bsp.AbstractBSPTree.NodeIterator<P,N>
Type Parameters:
P - Point implementation type
N - Node implementation type
All Implemented Interfaces:
Iterator<N>
Enclosing class:
AbstractBSPTree<P extends Point<P>,N extends AbstractBSPTree.AbstractNode<P,N>>

private static final class AbstractBSPTree.NodeIterator<P extends Point<P>,N extends AbstractBSPTree.AbstractNode<P,N>> extends Object implements Iterator<N>
Class for iterating through the nodes in a BSP subtree.
  • Field Details

  • Constructor Details

    • NodeIterator

      NodeIterator(N subtreeRoot)
      Create a new instance for iterating over the nodes in the given subtree.
      Parameters:
      subtreeRoot - the root node of the subtree to iterate
  • Method Details