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, setRangeValues
public PDFunctionTypeIdentity(COSBase function)
public int getFunctionType()
PDFunction
getFunctionType
in class PDFunction
public float[] eval(float[] input) throws IOException
PDFunction
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
- if something went wrong processing the function.protected COSArray getRangeValues()
PDFunction
getRangeValues
in class PDFunction
public String toString()
toString
in class PDFunction
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.