The X,Y coordinates of all vertices, returned as a two-dimensional array. The size of this array is automatically set to match the number of vertices.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax
Return Value
Type: DoubleArray of vertices.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | CoordinatesXY is not two-dimensional. |
| ArgumentException | The row or column lower bound is not zero. |
| ArgumentException | The number of columns is not two. |
| ArgumentException | The array type is not Double. |
| OUTOFMEMORYException | Additional vertices cannot be allocated. |
Remarks
Returns the (x,y) coordinates of all vertices as a two-dimensional array. The size of this array is automatically set to match the number of vertices.
See Also