clampFunctions method
- required Int32Function min,
- required Int32Function max,
Composes a function that clamps, point-wise, this function's field result between two values.
The function result is min where this function's field result is less than min. The function result is max where this function's field result is greater than max. Otherwise this function's field result is preserved.
A null min or max value is interpreted as no data. The function result has no data where the min, max, or this function's field result has no data. The function result has no data where the max is less than the min.
The function result extent equals that of this function's field result.
Parameters:
min— A function that returns the lower bound to clamp to.max— A function that returns the upper bound to clamp to.
Return Value: A function that clamps, point-wise, this function's field result between two values.