Identifies all trained calipers whose center lies within the given
region. The index of each such caliper is used
to set the corresponding boolean entry of listToUpdate
to the given Boolean value. List entries for all other indices are
unchanged.
Namespace: Cognex.VisionPro.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax
Parameters
- region
- Type: Cognex.VisionPro ICogRegion
The ICogRegion that may contain trained caliper centers. Must not be null.
- listToUpdate
- Type: Cognex.VisionPro ICogBoolList
The ICogBoolList that will be updated with the given Boolean value at the index position of every caliper whose center falls within the region. Must not be null.
- value
- Type: System Boolean
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | region is null. |
| ArgumentNullException | listToUpdate is null. |
| CogInvalidMaskOrFillEdgeLengthException | The number of boolean elements in listToUpdate does not match the number of trained calipers in this train result. |
See Also