You are here: Start » FIL.NET » FIL.GetMaximumRegion
Returns the region from the input array that corresponds to the largest computed feature value.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void GetMaximumRegion ( IList<FilNet.Region> inRegions, FilNet.RegionFeature inFeature, FilNet.Region outRegion, out float outValue, out int outIndex )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegions | System.Collections.Generic.IList<FilNet.Region> | Input regions. | ||
![]() | inFeature | FilNet.RegionFeature | Region feature value to be computed. | ||
![]() | outRegion | FilNet.Region | Output region. | ||
![]() | outValue | float | Computed feature value of the output region. | ||
![]() | outIndex | int |
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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region array on input in GetMaximumRegion. |
Function Overrides
- GetMaximumRegion(IList<Region>, RegionFeature, Region)
- GetMaximumRegion(IList<Region>, RegionFeature, Region, NullableValue<Single>, NullableValue<Int32>)