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 OrientedPointThe max boundary for the region.private OrientedPointThe min boundary for the region. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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, waitMethods 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:
acceptin interfaceBiConsumer<OrientedPoint,OrientedPoint>
-
getInterval
Return the computed interval.- Returns:
- the computed interval.
-