You are here: Start » AVL.NET » Invoke.SortRegions

Invoke.SortRegions

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inRegionsSystem.Collections.Generic.List<Avl.Region>Input regions.
inFeatureAvl.RegionFeatureRegion feature value to be computed.
inSortingOrderAvl.SortingOrderSorting order.
outSortedRegionsSystem.Collections.Generic.List<Avl.Region>Regions sorted according to the computed feature values.
outSortedValuesAtl.Optional<System.Collections.Generic.List<float>>Computed feature values.

See also