Class AbstractRegionBSPTree.RegionBoundaryIterator<P extends Point<P>,​C extends HyperplaneConvexSubset<P>,​N extends AbstractRegionBSPTree.AbstractRegionNode<P,​N>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.function.Function<? super HyperplaneConvexSubset<P>,​C> typeConverter
      Function that converts from the convex subset type to the output type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void acceptInput​(N input)
      Accept a value from the input iterator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Constructor Detail

      • RegionBoundaryIterator

        RegionBoundaryIterator​(java.util.Iterator<N> inputIterator,
                               java.util.function.Function<? super HyperplaneConvexSubset<P>,​C> typeConverter)
        Simple constructor.
        Parameters:
        inputIterator - iterator that will provide all nodes in the tree
        typeConverter - function that converts from the convex subset type to the output type