Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Classification » GetMaximumPath
GetMaximumPath
Returns the path from the input array that corresponds to the largest computed feature value.
Syntax
C++
C#
void avl::GetMaximumPath ( const atl::Array<avl::Path>& inPaths, avl::PathFeature::Type inFeature, avl::Path& outPath, atl::Optional<atl::real&> outValue = atl::NIL )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPaths | const Array<Path>& | Input paths | |
![]() |
inFeature | PathFeature::Type | Path feature value to be computed | |
![]() |
outPath | Path& | Output path | |
![]() |
outValue | Optional<real&> | NIL | Computed feature value of the output path |
Errors
| Error type | Description |
|---|---|
| DomainError | Empty path array on input in GetMaximumPath |


