Class ArcsSet.Split
java.lang.Object
org.apache.commons.math3.geometry.spherical.oned.ArcsSet.Split
- Enclosing class:
ArcsSet
Class holding the results of the
split
method.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
plus
Part of the arcs set on the plus side of the splitting arc. -
minus
Part of the arcs set on the minus side of the splitting arc.
-
-
Constructor Details
-
Split
Build a Split from its parts.- Parameters:
plus
- part of the arcs set on the plus side of the splitting arcminus
- part of the arcs set on the minus side of the splitting arc
-
-
Method Details
-
getPlus
Get the part of the arcs set on the plus side of the splitting arc.- Returns:
- part of the arcs set on the plus side of the splitting arc
-
getMinus
Get the part of the arcs set on the minus side of the splitting arc.- Returns:
- part of the arcs set on the minus side of the splitting arc
-
getSide
Get the side of the split arc with respect to its splitter.- Returns:
Side.PLUS
if onlygetPlus()
returns non-null,Side.MINUS
if onlygetMinus()
returns non-null,Side.BOTH
if bothgetPlus()
andgetMinus()
return non-null orSide.HYPER
if bothgetPlus()
andgetMinus()
return null- Since:
- 3.6
-