coerce In
Composes a function that clamps, point-wise, this function's field result between two values drawn from two others. 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.
The function result has no data where any of the fields have no data.
The function result has no data where the max is less than the min.
The function result extent equals the intersection of this field with the intersection of the min field and max field.
The spatial reference of all fields must be equivalent.
Return
A function that clamps, point-wise, this function's field result between two values drawn from two others.
Since
300.1.0
Parameters
The continuous field function to draw lower-bound values from.
The continuous field function to draw upper-bound values from.
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.
The function result has no data where this function's field result has no data.
The function result has no data where max is less than min.
The function result extent equals that of this function's field result.
Return
A function that clamps, point-wise, this function's field result between two values.
Since
300.1.0
Parameters
The lower-bound value to clamp to.
The upper-bound value to clamp to.