public class PDFunctionType2 extends PDFunction
Constructor and Description |
---|
PDFunctionType2(COSBase function)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSArray |
eval(COSArray input)
Evaluates the function at the given input.
|
COSArray |
getC0()
Returns the C0 values of the function, 0 if empty.
|
COSArray |
getC1()
Returns the C1 values of the function, 1 if empty.
|
int |
getFunctionType()
Returns the function type.
|
float |
getN()
Returns the exponent of the function.
|
clipToRange, clipToRange, create, getCOSObject, getDictionary, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getPDStream, getRangeForOutput, getRangeValues, interpolate, setDomainValues, setRangeValues
public PDFunctionType2(COSBase function)
functionStream
- The function .public int getFunctionType()
getFunctionType
in class PDFunction
public COSArray eval(COSArray input) throws IOException
eval
in class PDFunction
input
- The array of input values for the function. In many cases will be an array of a single value, but not always.IOException
public COSArray getC0()
public COSArray getC1()
public float getN()
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.