Class RegionBSPTree1D.NodeRegionVisitor

  • All Implemented Interfaces:
    java.util.function.BiConsumer<OrientedPoint,​OrientedPoint>
    Enclosing class:
    RegionBSPTree1D

    private static final class RegionBSPTree1D.NodeRegionVisitor
    extends java.lang.Object
    implements java.util.function.BiConsumer<OrientedPoint,​OrientedPoint>
    Internal class for calculating the region of a single tree node.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private OrientedPoint max
      The max boundary for the region.
      private OrientedPoint min
      The min boundary for the region.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NodeRegionVisitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(OrientedPoint minBoundary, OrientedPoint maxBoundary)
      Interval getInterval()
      Return the computed interval.
      • Methods inherited from class java.lang.Object

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

        andThen
    • Constructor Detail

      • NodeRegionVisitor

        private NodeRegionVisitor()