Back to Adaptive Vision Library website

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

EnumerateRealPairs


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

Syntax

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

Parameters

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