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 thesplit
method.
-
-
Constructor Summary
Constructors Constructor Description SplitSubHyperplane(J plus, J minus)
Build a SplitSubHyperplane from its parts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description J
getMinus()
Get the part of the sub-hyperplane on the minus side of the splitting hyperplane.J
getPlus()
Get the part of the sub-hyperplane on the plus side of the splitting hyperplane.Side
getSide()
Get the side of the split sub-hyperplane with respect to its splitter.
-
-
-
Method Detail
-
getPlus
public J 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
public J 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
public Side getSide()
Get the side of the split sub-hyperplane with respect to its splitter.- Returns:
Side.PLUS
if onlygetPlus()
is neither null nor empty,Side.MINUS
if onlygetMinus()
is neither null nor empty,Side.BOTH
if bothgetPlus()
andgetMinus()
are neither null nor empty orSide.HYPER
if bothgetPlus()
andgetMinus()
are either null or empty
-
-