Interface RegularAxis

    • Method Detail

      • getCoordinateSpacing

        double getCoordinateSpacing()
        Gets the spacing between coordinate values, might be negative.
      • findIndexOfUnconstrained

        int findIndexOfUnconstrained​(Double position)
                              throws IllegalArgumentException
        Finds the apparent index of a given position, even if this is beyond the bounds of the axis.
        Parameters:
        position - The position to test.
        Returns:
        The index where the position would appear, even if outside the bounds of this axis
        Throws:
        IllegalArgumentException - if the given position is null or Double.NaN