Get the coordinates of the vertex at the specified index. Index must be >= 0 and < NumVertices.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
Parameters
- index
- Type: System Int32
Index of the vertex.
- x
- Type: System Double
X-coordinate of the vertex.
- y
- Type: System Double
Y-coordinate of the vertex.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | index < 0 |
| ArgumentException | index >= NumVertices |
Remarks
Gets the coordinates of the vertex at the specified index. index must be greater than or equal to 0 and less than NumVertices.
See Also