Back to Aurora Vision Library website

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

EnumerateRealPairs


Header: STD.h
Namespace: avl
Module: FoundationLite

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,
	bool inRepeat,
	float& outValue1,
	float& outValue2
)

Parameters

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