Method SelectByMaximumSize
SelectByMaximumSize(OccurrenceList, double, double, bool)
Select all parts meeting the criteria
Declaration
public void SelectByMaximumSize(OccurrenceList roots, double maxDiagLength, double maxSize = -1, bool selectHidden = 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 selected. -1 to ignore |
| double | maxSize | If the longer axis of the box is less than maxLength, part will be selected. -1 to ignore |
| bool | selectHidden | If true, hidden parts meeting the criteria will be selected as well |