Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Classification » SortPaths
SortPaths
Changes the order of paths from the input array accordingly to an ascending/descending sequence of their computed feature values.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::SortPaths ( const atl::Array<avl::Path>& inPaths, avl::PathFilter::Type inPathFilter, avl::PathFeature::Type inFeature, avl::SortingOrder::Type inSortingOrder, atl::Array<avl::Path>& outSortedPaths, atl::Optional<atl::Array<float>&> outSortedValues = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPaths | const Array<Path>& | Input paths | ||
inPathFilter | PathFilter::Type | Determines which paths will take part in computation | ||
inFeature | PathFeature::Type | Path feature value to be computed | ||
inSortingOrder | SortingOrder::Type | Sorting order | ||
outSortedPaths | Array<Path>& | Paths sorted according to the computed feature values | ||
outSortedValues | Optional<Array<float>&> | NIL | Computed feature values |