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 ( IList<AvlNet.Path> inPaths, AvlNet.PathFilter inPathFilter, AvlNet.PathFeature inFeature, AvlNet.SortingOrder inSortingOrder, IList<AvlNet.Path> outSortedPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPaths | System.Collections.Generic.IList<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 | System.Collections.Generic.IList<AvlNet.Path> | Paths sorted according to the computed feature values. |