Class RegionBSPTree1D.BoundaryPair
- java.lang.Object
-
- org.apache.commons.geometry.euclidean.oned.RegionBSPTree1D.BoundaryPair
-
- Enclosing class:
- RegionBSPTree1D
private static final class RegionBSPTree1D.BoundaryPair extends java.lang.Object
Internal class containing pairs of interval boundaries.
-
-
Field Summary
Fields Modifier and Type Field Description private OrientedPoint
max
The max boundary.private OrientedPoint
min
The min boundary.
-
Constructor Summary
Constructors Constructor Description BoundaryPair(OrientedPoint min, OrientedPoint max)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrientedPoint
getMax()
Get the maximum boundary hyperplane.OrientedPoint
getMin()
Get the minimum boundary hyperplane.double
getMinValue()
Get the minimum value of the interval orDouble.NEGATIVE_INFINITY
if no minimum value exists.
-
-
-
Field Detail
-
min
private final OrientedPoint min
The min boundary.
-
max
private final OrientedPoint max
The max boundary.
-
-
Constructor Detail
-
BoundaryPair
BoundaryPair(OrientedPoint min, OrientedPoint max)
Simple constructor.- Parameters:
min
- min boundary hyperplanemax
- max boundary hyperplane
-
-
Method Detail
-
getMin
public OrientedPoint getMin()
Get the minimum boundary hyperplane.- Returns:
- the minimum boundary hyperplane.
-
getMax
public OrientedPoint getMax()
Get the maximum boundary hyperplane.- Returns:
- the maximum boundary hyperplane.
-
getMinValue
public double getMinValue()
Get the minimum value of the interval orDouble.NEGATIVE_INFINITY
if no minimum value exists.- Returns:
- the minimum value of the interval or
Double.NEGATIVE_INFINITY
if no minimum value exists.
-
-