Interface ContinuousLine.ContinuousDoubleFunction

All Superinterfaces:
Function<Double,Double>
All Known Implementing Classes:
FractionalLengthData
Enclosing interface:
ContinuousLine

public static interface ContinuousLine.ContinuousDoubleFunction extends Function<Double,Double>
Temporary function implementation with getDerivative() and getKnots() method.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getDerivative(double fractionalLength)
    Returns the derivative of the data with respect to fractional length.
    double[]
    Returns knots in the function.

    Methods inherited from interface java.util.function.Function

    andThen, apply, compose
  • Method Details

    • getDerivative

      double getDerivative(double fractionalLength)
      Returns the derivative of the data with respect to fractional length.
      Parameters:
      fractionalLength - fractional length, may be outside range [0 ... 1]
      Returns:
      derivative of the data with respect to fractional length
    • getKnots

      double[] getKnots()
      Returns knots in the function.
      Returns:
      knots in the function