public class PDFunctionTypeIdentity extends PDFunction
| Constructor and Description |
|---|
PDFunctionTypeIdentity(COSBase function) |
| Modifier and Type | Method and Description |
|---|---|
float[] |
eval(float[] input)
Evaluates the function at the given input.
|
int |
getFunctionType()
Returns the function type.
|
protected COSArray |
getRangeValues()
Returns all ranges for the output values as COSArray .
|
String |
toString() |
clipToRange, clipToRange, create, getCOSObject, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getPDStream, getRangeForOutput, interpolate, setDomainValues, setRangeValuespublic PDFunctionTypeIdentity(COSBase function)
public int getFunctionType()
PDFunctiongetFunctionType in class PDFunctionpublic float[] eval(float[] input)
throws IOException
PDFunctioneval in class PDFunctioninput - The array of input values for the function.
In many cases will be an array of a single value, but not always.IOException - if something went wrong processing the function.protected COSArray getRangeValues()
PDFunctiongetRangeValues in class PDFunctionpublic String toString()
toString in class PDFunctionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.