Back to FabImage Studio website

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

ClampDouble


Module: FoundationLite

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

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

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 ClampDouble.

Complexity Level

This filter is available on Basic Complexity Level.