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.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López