You are here: Start » AVL.NET » Function Reference » Region » Region Relations » AVL.GetMinimumRegion

AVL.GetMinimumRegion

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void GetMinimumRegion
(
	IList<AvlNet.Region> inRegions,
	AvlNet.RegionFeature inFeature,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionsSystem.Collections.Generic.IList<AvlNet.Region>Input regions.
inFeatureAvlNet.RegionFeatureRegion feature value to be computed.
outRegionAvlNet.RegionOutput region.

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

List of possible exceptions:

Error type Description
DomainError Empty region array on input in GetMinimumRegion.

Function Overrides

See also