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>
public static class SubHyperplane.SplitSubHyperplane<U extends Space> extends java.lang.ObjectClass holding the results of thesplitmethod.
-
-
Field Summary
Fields Modifier and Type Field Description private SubHyperplane<U>minusPart of the sub-hyperplane on the minus side of the splitting hyperplane.private SubHyperplane<U>plusPart of the sub-hyperplane on the plus side of the splitting hyperplane.
-
Constructor Summary
Constructors Constructor Description SplitSubHyperplane(SubHyperplane<U> plus, SubHyperplane<U> minus)Build a SplitSubHyperplane from its parts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubHyperplane<U>getMinus()Get the part of the sub-hyperplane on the minus side of the splitting hyperplane.SubHyperplane<U>getPlus()Get the part of the sub-hyperplane on the plus side of the splitting hyperplane.SidegetSide()Get the side of the split sub-hyperplane with respect to its splitter.
-
-
-
Field Detail
-
plus
private final SubHyperplane<U extends Space> plus
Part of the sub-hyperplane on the plus side of the splitting hyperplane.
-
minus
private final SubHyperplane<U extends Space> minus
Part of the sub-hyperplane on the minus side of the splitting hyperplane.
-
-
Constructor Detail
-
SplitSubHyperplane
public SplitSubHyperplane(SubHyperplane<U> plus, SubHyperplane<U> minus)
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 Detail
-
getPlus
public SubHyperplane<U> 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 SubHyperplane<U> 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.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
-
-