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.ObjectInternal class containing pairs of interval boundaries.
-
-
Field Summary
Fields Modifier and Type Field Description private OrientedPointmaxThe max boundary.private OrientedPointminThe 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 OrientedPointgetMax()Get the maximum boundary hyperplane.OrientedPointgetMin()Get the minimum boundary hyperplane.doublegetMinValue()Get the minimum value of the interval orDouble.NEGATIVE_INFINITYif 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_INFINITYif no minimum value exists.- Returns:
- the minimum value of the interval or
Double.NEGATIVE_INFINITYif no minimum value exists.
-
-