You are here: Start » AVL.NET » AVL.SortRegions(AvlNet.Region[], AvlNet.RegionFeature, AvlNet.SortingOrder, AvlNet.Region[])
AVL.SortRegions(AvlNet.Region[], AvlNet.RegionFeature, AvlNet.SortingOrder, AvlNet.Region[])
Changes the order of regions from the input array accordingly to an ascending/descending sequence of their computed feature values.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SortRegions( AvlNet.Region[] inRegions, AvlNet.RegionFeature inFeature, AvlNet.SortingOrder inSortingOrder, out AvlNet.Region[] outSortedRegions )
Parameters
- inRegions
- Type: AvlNet.Region
Input regions - inFeature
- Type: AvlNet.RegionFeature
Region feature value to be computed - inSortingOrder
- Type: AvlNet.SortingOrder
Sorting order - outSortedRegions
- Type: AvlNet.Region
Regions sorted according to the computed feature values
