Returns the start and end coordinates for the line segment.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- startX
- Type: System Double
X-coordinate of the start point of the segment.
- startY
- Type: System Double
Y-coordinate of the start point of the segment.
- endX
- Type: System Double
X-coordinate of the end point of the segment.
- endY
- Type: System Double
Y-coordinate of the end point of the segment.
Implements
ICogGeneralContourLineSegmentIterator GetStartEnd(Double , Double , Double , Double )Exceptions
| Exception | Condition |
|---|---|
| CogShapeBadContourSegTypeException | The SegmentType is not Line |
| CogIteratorInvalidIteratorException | This iterator is not valid. |
Remarks
Returns the start and end coordinates for the line segment.
See Also