Start » Filter Reference » Basic » Real » ClampReal
Module: | FoundationLite |
---|
Returns a value as close as possible to inValue, but in the specified range.
Name | Type | Description | |
---|---|---|---|
![]() |
inValue | Real | |
![]() |
inMinimum | Real | |
![]() |
inMaximum | Real | |
![]() |
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.