COSObjectable
public class PDFunctionTypeIdentity extends PDFunction
Constructor | Description |
---|---|
PDFunctionTypeIdentity(COSBase function) |
Modifier and Type | Method | Description |
---|---|---|
float[] |
eval(float[] input) |
Evaluates the function at the given input.
|
int |
getFunctionType() |
Returns the function type.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clipToRange, clipToRange, create, eval, getCOSObject, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getPDStream, getRangeForOutput, getRangeValues, interpolate, setDomainValues, setRangeValues
public PDFunctionTypeIdentity(COSBase function)
public int getFunctionType()
PDFunction
getFunctionType
in class PDFunction
public float[] eval(float[] input) throws java.io.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.java.io.IOException
- an IOExcpetion is thrown if something went wrong processing the function.public java.lang.String toString()
toString
in class PDFunction
Copyright © 2002–2018. All rights reserved.