Method MergeByRegions
MergeByRegions(OccurrenceList, MergeByRegionsStrategy, MergeStrategy)
Merge all parts within the same area.
Declaration
public OccurrenceList MergeByRegions(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 |