Back to Adaptive Vision Library website

You are here: Start » Function Reference » Path Classification » GetMinimumPath_OrNil

GetMinimumPath_OrNil


Returns the path from the input array that corresponds to the smallest computed feature value; returns NIL if the array or any path inside it is empty.

Syntax

C++
C#
 
void avl::GetMinimumPath_OrNil
(
	const atl::Array<avl::Path>& inPaths,
	avl::PathFeature::Type inFeature,
	atl::Conditional<avl::Path>& outPath,
	atl::Conditional<float>& outValue,
	atl::Conditional<int>& outIndex
)

Parameters

Name Type Default Description
inPaths const Array<Path>& Input paths
inFeature PathFeature::Type Path feature value to be computed
outPath Conditional<Path>& Output path
outValue Conditional<float>& Computed feature value of the output path
outIndex Conditional<int>&