Creates a gcnew CogLineSegment with the same geometric and graphics properties as this segment.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
Return Value
Type: CogLineSegmentThe line segment.
Implements
ICogGeneralContourLineSegmentIterator CreateLineSegmentExceptions
| Exception | Condition |
|---|---|
| CogShapeBadContourSegTypeException | The SegmentType is not Line |
| CogIteratorInvalidIteratorException | This iterator is not valid. |
Remarks
Creates a new CogLineSegment with the same geometric and graphics properties as this segment.
See Also