Raster.clip( value, min, max )
Clips a value to a given min/max range.Parameters
Name | Type | Description | |
---|---|---|---|
value | number | value to bee clipped. | |
min | number | minimum value in the range | |
max | number | maximum value in the range |
Returns
Type | Description |
---|---|
number |
Value in the range of [min ..max ]
including the min/max boundaries. |