Class 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.
    • Constructor Detail

      • StitchingFunction

        public StitchingFunction​(java.util.Map functionDict,
                                 PDFFile srcFile)
      • StitchingFunction

        public StitchingFunction​(PDFStream functionStream,
                                 PDFFile srcFile)
    • Method Detail

      • numInputValues

        public int numInputValues()
        Description copied from class: PDFFunction
        Returns the number of parameters this function takes as input
        Overrides:
        numInputValues in class PDFFunction
      • numOutputValues

        public int numOutputValues()
        Description copied from class: PDFFunction
        Returns the number of values this function returns. Should be overridden by subclasses that don't require outputRange.
        Overrides:
        numOutputValues in class PDFFunction