Start » Filter Reference » Region » Region Relations » GetMaximumRegion_OrNil

GetMaximumRegion_OrNil


Module: FoundationBasic

Returns the region from the input array that corresponds to the largest computed feature value; returns NIL if the array or any region inside it is empty.

Applications

Use this filter when you have an array of regions and you want to select one of them that best matches some criterion.
Name Type Description
Input value
inRegions RegionArray Input regions
Input value
inFeature RegionFeature Region feature value to be computed
Output value
outRegion Region? Output region
Output value
outValue Real? Computed feature value of the output region
Output value
outIndex Integer?

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of GetMaximumRegion filter group.