Back to FabImage Studio website

You are here: Start » Filter Reference » Basic » Real » ClampReal

ClampReal


Module: FoundationLite

Returns a value as close as possible to inValue, but in the specified range.

Name Type Description
Input value
inValue Real
Input value
inMinimum Real
Input value
inMaximum Real
Output value
outClampedValue Real

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Invalid range (inMinimum > inMaximum) given in ClampReal.

Complexity Level

This filter is available on Basic Complexity Level.