You are here: Start » AVL.NET » Invoke.SortRegions
Changes the order of regions 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 SortRegions ( List<Avl.Region> inRegions, Avl.RegionFeature inFeature, Avl.SortingOrder inSortingOrder, List<Avl.Region> outSortedRegions, Optional<List<float>> outSortedValues )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRegions | System.Collections.Generic.List<Avl.Region> | Input regions. | ||
![]()  | inFeature | Avl.RegionFeature | Region feature value to be computed. | ||
![]()  | inSortingOrder | Avl.SortingOrder | Sorting order. | ||
![]()  | outSortedRegions | System.Collections.Generic.List<Avl.Region> | Regions sorted according to the computed feature values. | ||
![]()  | outSortedValues | Atl.Optional<System.Collections.Generic.List<float>> | Computed feature values. | 


