ClassifyRegions
Splits an array of regions according to the selected feature and range.
Applications:Use this filter when you have an array of regions and you want to select some of them for further processing.
Syntax
C++
C#
Python
def ClassifyRegions( inRegions: list[Region], /, *, inFeature: RegionFeature = RegionFeature.Area, inMinimum: float | None = None, inMaximum: float | None = None ) -> ( outAccepted: list[Region], outRejected: list[Region], outBelow: list[Region], outAbove: list[Region], outValues: list[float] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegions | list[Region] | Input regions | |
![]() |
inFeature | RegionFeature | RegionFeature.Area | Region feature value to be computed |
![]() |
inMinimum | float | None | None | Lowest value of the range |
![]() |
inMaximum | float | None | None | Highest value of the range |
![]() |
outAccepted | list[Region] | Regions with feature values matching the range | |
![]() |
outRejected | list[Region] | Regions with feature values outside the range | |
![]() |
outBelow | list[Region] | Regions with feature values lower than inMinimum | |
![]() |
outAbove | list[Region] | Regions with feature values higher than inMaximum | |
![]() |
outValues | list[float] | Computed feature values |


