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