Get the given point.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
Parameters
- index
- Type: System Int32
The index (0-based) of the point to get.
- x
- Type: System Double
A variable into which is placed the X-coordinate of the specified point.
- y
- Type: System Double
A variable into which is placed the Y-coordinate of the specified point.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | index is less than 0 or greater than or equal to NumPoints. |
Remarks
Gets the X- and Y-coordinates of the point with the supplied index.
See Also