Back to Adaptive Vision Library website

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

EnumerateRealPairs


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

Produces a total number of 'inCount1 * inCount2' of pairs of real numbers.

Syntax

bool avl::EnumerateRealPairs
(
	Enumerate2DState& ioState,
	atl::real inStart1,
	atl::Optional<int> inCount1,
	atl::real inStep1,
	atl::real inStart2,
	int inCount2,
	atl::real inStep2,
	atl::real& outValue1,
	atl::real& outValue2
)

Parameters

Name Type Range Default Description
ioState Enumerate2DState& Object used to maintain state of the function.
inStart1 real 0.0f First element of first range
inCount1 Optional<int> 0 - NIL Length of first range
inStep1 real 1.0f Difference between consecutive elements of first range
inStart2 real 0.0f First element of second range
inCount2 int 0 - Length of second range
inStep2 real 1.0f Difference between consecutive elements of second range
outValue1 real& Elements of first range in 'AAABBBCCC' order
outValue2 real& Elements of second range in 'ABCABCABC' order