Back to Aurora Vision Library Lite websiteYou are here:
Start »
All Functions »
Real »
ClampReal
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: |
STD.h
|
Namespace: |
avl |
Returns a value as close as possible to inValue, but in the specified range.
Syntax
void avl::ClampReal
(
const float inValue,
const float inMinimum,
const float inMaximum,
float& outClampedValue
)
Parameters
|
Name |
Type |
Default |
Description |
|
inValue |
const float |
|
|
|
inMinimum |
const float |
|
|
|
inMaximum |
const float |
|
|
|
outClampedValue |
float& |
|
|
Errors
List of possible exceptions:
Error type |
Description |
DomainError |
Invalid range (inMinimum > inMaximum) given in ClampReal. |