You are here: Start » AVL.NET » AVS.SortRegions Method

AVS.SortRegions Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SortRegions
(
	IList<AvlNet.Region> inRegions,
	AvlNet.RegionFeature inFeature,
	AvlNet.SortingOrder inSortingOrder,
	IList<AvlNet.Region> outSortedRegions
)

Parameters

Name Type Range Default Description
inRegionsSystem.Collections.Generic.IList<AvlNet.Region>Input regions.
inFeatureAvlNet.RegionFeatureRegion feature value to be computed.
inSortingOrderAvlNet.SortingOrderSorting order.
outSortedRegionsSystem.Collections.Generic.IList<AvlNet.Region>Regions sorted according to the computed feature values.

Function Overrides

See also