Back to Adaptive Vision Library website

You are here: Start » Function Reference » Loop Generators » EnumerateReals

EnumerateReals


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

In each consecutive iteration produces a consecutive number from an arithmetic sequence.

Syntax

bool avl::EnumerateReals
(
	Enumerate1DState& ioState,
	atl::real inStart,
	atl::Optional<int> inCount,
	atl::real inStep,
	atl::real& outValue
)

Parameters

Name Type Range Default Description
ioState Enumerate1DState& Object used to maintain state of the function.
inStart real 0.0f First value of the generated sequence
inCount Optional<int> 0 - NIL Length of the generated sequence
inStep real 1.0f Value added in each iteration
outValue real&