Return the index number of the vertex nearest to the supplied X,Y coordinates. Generates an error if there are no vertices.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Return Value
Type: Int32Index or the nearest vertex.
Exceptions
| Exception | Condition |
|---|---|
| ShapeException | NumVertices < 1. |
Remarks
Returns the index number of the vertex nearest to the supplied (x,y) coordinates.
See Also