Class SubHyperplane.SplitSubHyperplane<U extends Space,R extends Point<U,R>,F extends Hyperplane<U,R,F,J>,J extends SubHyperplane<U,R,F,J>>
java.lang.Object
org.hipparchus.geometry.partitioning.SubHyperplane.SplitSubHyperplane<U,R,F,J>
- Type Parameters:
U- Type of the embedding space.R- Type of the points in the embedding space.F- Type of the hyperplane.J- Type of the sub-hyperplane.
- Enclosing interface:
SubHyperplane<S extends Space,P extends Point<S, P>, H extends Hyperplane<S, P, H, I>, I extends SubHyperplane<S, P, H, I>>
public static class SubHyperplane.SplitSubHyperplane<U extends Space,R extends Point<U,R>,F extends Hyperplane<U,R,F,J>,J extends SubHyperplane<U,R,F,J>>
extends Object
Class holding the results of the
split method.-
Constructor Summary
ConstructorsConstructorDescriptionSplitSubHyperplane(J plus, J 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
-