Class SubHyperplane.SplitSubHyperplane<U extends Space>
java.lang.Object
org.apache.commons.math3.geometry.partitioning.SubHyperplane.SplitSubHyperplane<U>
- Type Parameters:
U- Type of the embedding space.
- Enclosing interface:
SubHyperplane<S extends Space>
Class holding the results of the
split method.-
Constructor Summary
ConstructorsConstructorDescriptionSplitSubHyperplane(SubHyperplane<U> plus, SubHyperplane<U> minus) Build a SplitSubHyperplane from its parts. -
Method Summary
Modifier and TypeMethodDescriptiongetMinus()Get the part of the sub-hyperplane on the minus side of the splitting hyperplane.getPlus()Get the part of the sub-hyperplane on the plus side of the splitting hyperplane.getSide()Get the side of the split sub-hyperplane with respect to its splitter.
-
Constructor Details
-
SplitSubHyperplane
Build a SplitSubHyperplane from its parts.- Parameters:
plus- part of the sub-hyperplane on the plus side of the splitting hyperplaneminus- part of the sub-hyperplane on the minus side of the splitting hyperplane
-
-
Method Details
-
getPlus
Get the part of the sub-hyperplane on the plus side of the splitting hyperplane.- Returns:
- part of the sub-hyperplane on the plus side of the splitting hyperplane
-
getMinus
Get the part of the sub-hyperplane on the minus side of the splitting hyperplane.- Returns:
- part of the sub-hyperplane on the minus side of the splitting hyperplane
-
getSide
Get the side of the split sub-hyperplane with respect to its splitter.- Returns:
Side.PLUSif onlygetPlus()is neither null nor empty,Side.MINUSif onlygetMinus()is neither null nor empty,Side.BOTHif bothgetPlus()andgetMinus()are neither null nor empty orSide.HYPERif bothgetPlus()andgetMinus()are either null or empty- Since:
- 3.6
-