Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Basic » Integer » ClampInteger

ClampInteger


Module: FoundationLite

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

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

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

Complexity Level

This filter is available on Basic Complexity Level.