You are here: Start » AVL.NET » AVL.SortPaths
Changes the order of paths from the input array accordingly to an ascending/descending sequence of their computed feature values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SortPaths ( AvlNet.Path[] inPaths, AvlNet.PathFilter inPathFilter, AvlNet.PathFeature inFeature, AvlNet.SortingOrder inSortingOrder, out AvlNet.Path[] outSortedPaths, out float[] outSortedValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPaths | AvlNet.Path[] | Input paths. | ||
![]() | inPathFilter | AvlNet.PathFilter | Determines which paths will take part in computation. | ||
![]() | inFeature | AvlNet.PathFeature | Path feature value to be computed. | ||
![]() | inSortingOrder | AvlNet.SortingOrder | Sorting order. | ||
![]() | outSortedPaths | AvlNet.Path[] | Paths sorted according to the computed feature values. | ||
![]() | outSortedValues | float[] | Computed feature values |