Class RegionBSPTree1D.NodeRegionVisitor
java.lang.Object
org.apache.commons.geometry.euclidean.oned.RegionBSPTree1D.NodeRegionVisitor
- All Implemented Interfaces:
BiConsumer<OrientedPoint,
OrientedPoint>
- Enclosing class:
RegionBSPTree1D
private static final class RegionBSPTree1D.NodeRegionVisitor
extends Object
implements BiConsumer<OrientedPoint,OrientedPoint>
Internal class for calculating the region of a single tree node.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OrientedPoint
The max boundary for the region.private OrientedPoint
The min boundary for the region. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(OrientedPoint minBoundary, OrientedPoint maxBoundary) 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
-
Field Details
-
min
The min boundary for the region. -
max
The max boundary for the region.
-
-
Constructor Details
-
NodeRegionVisitor
private NodeRegionVisitor()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<OrientedPoint,
OrientedPoint>
-
getInterval
Return the computed interval.- Returns:
- the computed interval.
-