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

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inRegions
Type: AvlNet.Region
inFeature
Type: AvlNet.RegionFeature
outRegion
Type: AvlNet.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 largest.

Examples

GetMaximumRegion performed with Area as the selected region feature.

Errors

Error type Description
DomainError Empty region array on input in GetMaximumRegion

See also