GroupRegionsByRegions
For each region returns which regions lie inside of it or intersect with it.
Syntax
C++
C#
Python
def GroupRegionsByRegions( inRegions: list[Region], inGroupRegions: list[Region], /, *, inMatchingCriterion: MatchingCriterion = MatchingCriterion.Intersection ) -> ( outGroupedIndices: list[ list[int] ], outGroupedRegions: list[ list[Region] ] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegions | list[Region] | Array of regions that will be classified into multiple groups | |
![]() |
inGroupRegions | list[Region] | Array of regions that define the groups | |
![]() |
inMatchingCriterion | MatchingCriterion | MatchingCriterion.Intersection | Specifies whether a region must fully belong to a group region or if it is enough that it intersects |
![]() |
outGroupedIndices | list[ list[int] ] | Indices of input regions classified into multiple groups | |
![]() |
outGroupedRegions | list[ list[Region] ] | Input regions classified into multiple groups |


