Method MergePartOccurrencesByRegions
MergePartOccurrencesByRegions(OccurrenceList, MergeByRegionsStrategy, MergeStrategy)
Merge all parts within the same area.
Declaration
[HandleProcessCorruptedStateExceptions]
public OccurrenceList MergePartOccurrencesByRegions(OccurrenceList roots, MergeByRegionsStrategy mergeBy, MergeStrategy strategy)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | roots | Roots occurrences for the process (will not be removed) |
| MergeByRegionsStrategy | mergeBy | Number: number of output parts (or regions of parts)\nSize: diagonal size of output regions |
| MergeStrategy | strategy | Choose the regions merging strategy |
Returns
| Type | Description |
|---|---|
| OccurrenceList |