Class RegionBSPTree1D.BoundaryPair
java.lang.Object
org.apache.commons.geometry.euclidean.oned.RegionBSPTree1D.BoundaryPair
- Enclosing class:
RegionBSPTree1D
Internal class containing pairs of interval boundaries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OrientedPoint
The max boundary.private final OrientedPoint
The min boundary. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMax()
Get the maximum boundary hyperplane.getMin()
Get the minimum boundary hyperplane.double
Get the minimum value of the interval orDouble.NEGATIVE_INFINITY
if no minimum value exists.
-
Field Details
-
min
The min boundary. -
max
The max boundary.
-
-
Constructor Details
-
BoundaryPair
BoundaryPair(OrientedPoint min, OrientedPoint max) Simple constructor.- Parameters:
min
- min boundary hyperplanemax
- max boundary hyperplane
-
-
Method Details
-
getMin
Get the minimum boundary hyperplane.- Returns:
- the minimum boundary hyperplane.
-
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.
-