Back to Adaptive Vision Library website
You are here: Start » Function Reference » Random » RandomReal_Deprecated
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Creates random real value in given closed interval.
Syntax
void avl::RandomReal_Deprecated ( RandomSeed_OfState& ioState, const float inMinValue, const float inMaxValue, atl::Optional<int> inSeed, float& outValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioState | RandomSeed_OfState& | Object used to maintain state of the function. | ||
inMinValue | const float | Minimal generated value | ||
inMaxValue | const float | 1.0f | Maximal generated value | |
inSeed | Optional<int> | NIL | Random seed used to generate values | |
outValue | float& |
Errors
Error type | Description |
---|---|
DomainError | Value of inMinValue is greater than value of inMaxValue. |