java.lang.Object
org.apache.commons.math3.geometry.spherical.oned.ArcsSet.Split
Enclosing class:
ArcsSet

public static class ArcsSet.Split extends Object
Class holding the results of the split method.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final ArcsSet
    Part of the arcs set on the minus side of the splitting arc.
    private final ArcsSet
    Part of the arcs set on the plus side of the splitting arc.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Split(ArcsSet plus, ArcsSet minus)
    Build a Split from its parts.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the part of the arcs set on the minus side of the splitting arc.
    Get the part of the arcs set on the plus side of the splitting arc.
    Get the side of the split arc with respect to its splitter.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • plus

      private final ArcsSet plus
      Part of the arcs set on the plus side of the splitting arc.
    • minus

      private final ArcsSet minus
      Part of the arcs set on the minus side of the splitting arc.
  • Constructor Details

    • Split

      private Split(ArcsSet plus, ArcsSet minus)
      Build a Split from its parts.
      Parameters:
      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
  • Method Details

    • getPlus

      public ArcsSet 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

      public ArcsSet 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

      public Side getSide()
      Get the side of the split arc with respect to its splitter.
      Returns:
      Side.PLUS if only getPlus() returns non-null, Side.MINUS if only getMinus() returns non-null, Side.BOTH if both getPlus() and getMinus() return non-null or Side.HYPER if both getPlus() and getMinus() return null
      Since:
      3.6