ThresholdInterpolation = function(threshold) {
            this.threshold = threshold;
          }
@class Defines a single step/threshold function which returns the min value for all
factors &lt; threshold and the max value for all others.
@member toxi