Back to Aurora Vision Library website

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

GetMaximumPath_OrNil


Header: AVL.h
Namespace: avl
Module: FoundationBasic

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

Applications: Use this filter when you have an array of paths and you want to select one of them that best matches some criterion.

Syntax

C++
C#
 
void avl::GetMaximumPath_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
Input value inPaths const Array<Path>& Input paths
Input value inFeature PathFeature::Type Path feature value to be computed
Output value outPath Conditional<Path>& Output path
Output value outValue Conditional<float>& Computed feature value of the output path
Output value outIndex Conditional<int>&