You are here: Start » AVL.NET » AVL.SortRegions
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
C++
C#
public static void SortRegions ( IList<AvlNet.Region> inRegions, AvlNet.RegionFeature inFeature, AvlNet.SortingOrder inSortingOrder, IList<AvlNet.Region> outSortedRegions, IList<float> outSortedValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegions | System.Collections.Generic.IList<AvlNet.Region> | Input regions. | |||
inFeature | AvlNet.RegionFeature | Region feature value to be computed. | |||
inSortingOrder | AvlNet.SortingOrder | Sorting order. | |||
outSortedRegions | System.Collections.Generic.IList<AvlNet.Region> | Regions sorted according to the computed feature values. | |||
outSortedValues | System.Collections.Generic.IList<float> | Computed feature values. |
Description
The filter sorts the array of input regions according to the selected feature values computed for each of them.