Computes the nearest point.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 73.0.0.0
Syntax
Parameters
- profile
- Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionProfile
The nearest point is computed in the profile selected space name.
Events
| Event Type | Reason |
|---|---|
| Cognex.VisionPro ICogChangedEvent | Fires when this method is called. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| CogSecurityViolationException | If licensing for this class cannot be confirmed. |
| ArgumentNullException | If the operator is not in a collection. The parent is null. |
Remarks
The status returned can be one of the following:
- The nearest point was computed successfully and passed any enabled tolerance checking. Passed
- The nearest point was computed successfully but failed tolerance checking FailedTolerance
- The point and/or the line was/were not found at run time InputFeatureMissing
See Also