Class StitchingFunction
- java.lang.Object
- 
- com.inductiveautomation.rm.pdf.reader.PDFFunction
- 
- com.inductiveautomation.rm.pdf.reader.fps.StitchingFunction
 
 
- 
 public class StitchingFunction extends PDFFunction A Stitching function is a function that contains an array of subfunctions. The stitching function takes its one input value, finds the particular subfunction by using the Domain and Bounds arrays, and then maps the function into the subfunction's domain using the Encode array. It then returns the results of the subfunction on the mapped input value.
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.rm.pdf.reader.PDFFunctionExponentialInterpolation, functionType, inputDomain, inputValues, outputRange, PostScriptCalculator, returnValues, Sampled, Stitching
 
- 
 - 
Constructor SummaryConstructors Constructor Description StitchingFunction(PDFStream functionStream, PDFFile srcFile)StitchingFunction(java.util.Map functionDict, PDFFile srcFile)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfunction_implementation(float[] in, float[] out)voidinitializeParameters(java.util.Map functionDict, PDFFile srcFile)Read the function parametersintnumInputValues()Returns the number of parameters this function takes as inputintnumOutputValues()Returns the number of values this function returns.- 
Methods inherited from class com.inductiveautomation.rm.pdf.reader.PDFFunctionclipToRange, evaluate, getInstance
 
- 
 
- 
- 
- 
Method Detail- 
initializeParameterspublic void initializeParameters(java.util.Map functionDict, PDFFile srcFile)Description copied from class:PDFFunctionRead the function parameters- Overrides:
- initializeParametersin class- PDFFunction
 
 - 
numInputValuespublic int numInputValues() Description copied from class:PDFFunctionReturns the number of parameters this function takes as input- Overrides:
- numInputValuesin class- PDFFunction
 
 - 
numOutputValuespublic int numOutputValues() Description copied from class:PDFFunctionReturns the number of values this function returns. Should be overridden by subclasses that don't require outputRange.- Overrides:
- numOutputValuesin class- PDFFunction
 
 - 
function_implementationpublic void function_implementation(float[] in, float[] out)- Specified by:
- function_implementationin class- PDFFunction
 
 
- 
 
-