You are here: Start » AVL.NET » AVL.SortRegions(AvlNet.Region[], AvlNet.RegionFeature, AvlNet.SortingOrder, AvlNet.Region[], float[])

AVL.SortRegions(AvlNet.Region[], AvlNet.RegionFeature, AvlNet.SortingOrder, AvlNet.Region[], float[])

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SortRegions(
	AvlNet.Region[] inRegions,
	AvlNet.RegionFeature inFeature,
	AvlNet.SortingOrder inSortingOrder,
	out AvlNet.Region[] outSortedRegions,
	out float[] outSortedValues
)

Parameters

inRegions
Type: AvlNet.Region
inFeature
Type: AvlNet.RegionFeature
inSortingOrder
Type: AvlNet.SortingOrder
outSortedRegions
Type: AvlNet.Region
outSortedValues
Type: System.Single

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.

See also