Class Split<T>
java.lang.Object
org.apache.commons.geometry.core.partitioning.Split<T>
- Type Parameters:
T- Split type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the location of the object with respect to its splitting hyperplane.getMinus()Get the part of the object lying on the minus side of the splitting hyperplane or null if no such part exists.getPlus()Get the part of the object lying on the plus side of the splitting hyperplane or null if no such part exists.toString()
-
Constructor Details
-
Split
-
-
Method Details
-
getMinus
-
getPlus
-
getLocation
Get the location of the object with respect to its splitting hyperplane.- Returns:
SplitLocation.PLUS- if onlygetPlus()is not nullSplitLocation.MINUS- if onlygetMinus()is not nullSplitLocation.BOTH- if bothgetPlus()andgetMinus()are not nullSplitLocation.NEITHER- if bothgetPlus()andgetMinus()are null
-
toString
-