Method FindPartOccurrencesByMaximumSize
FindPartOccurrencesByMaximumSize(OccurrenceList, double, double, bool)
Get part occurrences by size
Declaration
[HandleProcessCorruptedStateExceptions]
public OccurrenceList FindPartOccurrencesByMaximumSize(OccurrenceList roots, double maxDiagLength, double maxSize = -1, bool getHidden = false)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | roots | Roots occurrences for the process |
double | maxDiagLength | If the diagonal axis of the bounding box is less than maxDiagLength, part will be filtered. -1 to ignore |
double | maxSize | If the longer axis of the box is less than maxLength, part will be filtered. -1 to ignore |
bool | getHidden | If true, hidden part occurrences meeting the criteria will be filtered as well |
Returns
Type | Description |
---|---|
OccurrenceList |