Class ExponentialInterpolationFunction

java.lang.Object
org.jfree.pdf.internal.PDFObject
org.jfree.pdf.function.Function
org.jfree.pdf.function.ExponentialInterpolationFunction

public final class ExponentialInterpolationFunction extends Function
A PDF "Type 2" function.
  • Field Details

    • n

      double n
    • c0

      float[] c0
    • c1

      float[] c1
  • Constructor Details

    • ExponentialInterpolationFunction

      public ExponentialInterpolationFunction(int number, float[] c0, float[] c1)
      Creates a new function.
      Parameters:
      number - the PDF object number.
      c0 - the function result at 0.0.
      c1 - the function result at 1.0.
  • Method Details

    • getN

      public double getN()
      Returns the interpolation exponent. The default value is 1.
      Returns:
      The interpolation exponent.
    • setN

      public void setN(double n)
      Sets the interpolation exponent.
      Parameters:
      n - the new interpolation exponent.
    • getC0

      public float[] getC0()
      Returns the function result when x is 0.0. The returned array is a copy.
      Returns:
      The function result when x is 0.0.
    • setC0

      public void setC0(float[] c0)
      Sets the function result to be used when x is 0.0. The array passed to this method will be copied.
      Parameters:
      c0 - the function result (null not permitted).
    • getC1

      public float[] getC1()
      Returns the function result when x is 1.0. The returned array is a copy.
      Returns:
      The function result when x is 1.0.
    • setC1

      public void setC1(float[] c1)
      Sets the function result to be used when x is 1.0. The array passed to this method will be copied.
      Parameters:
      c1 - the function result (null not permitted).