Extracts a line segment.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 75.1.0.0
Syntax
Parameters
- profile
- Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionProfile
The line segment is extracted and reported 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. |
| ArgumentException | If the regions selected space name was not found in the profile space tree. |
Remarks
The status returned can be one of the following:
- The line segment was extracted successfully and passed any enabled tolerance checking. Passed
- The line segment was extracted successfully but failed tolerance checking FailedTolerance
- The line segment was not extracted because because not enough points were found to extract the line. FeatureNoExtracted
See Also