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

AVL.GetMinimumRegion(AvlNet.Region[], AvlNet.RegionFeature, AvlNet.Region, float)

Returns the region from the input array that corresponds to the smallest computed feature value.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void GetMinimumRegion(
	AvlNet.Region[] inRegions,
	AvlNet.RegionFeature inFeature,
	out AvlNet.Region outRegion,
	out float outValue
)

Parameters

inRegions
Type: AvlNet.Region
Input regions
inFeature
Type: AvlNet.RegionFeature
Region feature value to be computed
outRegion
Type: AvlNet.Region
Output region
outValue
Type: System.Single

Description

The filter computes the selected feature value for every input region and returns the one for which value is the smallest.

Examples

GetMinimumRegion performed with Area as the selected region feature.

Errors

Error type Description
DomainError Empty region array on input in GetMinimumRegion

See also