You are here: Start » FIL.NET » FIL.SortRegions

FIL.SortRegions

Changes the order of regions from the input array accordingly to an ascending/descending sequence of their computed feature values.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void SortRegions
(
	IList<FilNet.Region> inRegions,
	FilNet.RegionFeature inFeature,
	FilNet.SortingOrder inSortingOrder,
	IList<FilNet.Region> outSortedRegions,
	IList<float> outSortedValues
)

Parameters

Name Type Range Default Description
inRegionsSystem.Collections.Generic.IList<FilNet.Region>Input regions.
inFeatureFilNet.RegionFeatureRegion feature value to be computed.
inSortingOrderFilNet.SortingOrderSorting order.
outSortedRegionsSystem.Collections.Generic.IList<FilNet.Region>Regions sorted according to the computed feature values.
outSortedValuesSystem.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.

Examples

SortRegions performed with inFeature = Area. Input regions are on the left. On the right is the result.

Function Overrides

See also