Modify the coordinates of the vertices to match the supplied values. If there are more supplied values than vertices, append sufficient vertices. If there are fewer supplied values than vertices, discard vertices at the end.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax
Parameters
- coordinatesXY
- Type: Cognex.Vision Vect2Collection
A collection of vertex coordinates.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | NumVertices < 1 |
| OutOfMemoryException | The array cannot be allocated. |
Remarks
Changed Raised when vertices are set.
Remarks
Modifies the coordinates of the vertices to match the supplied values. If there are more supplied values than vertices, additional vertices are appended to the polygon. If there are fewer supplied values than vertices, the superfluous vertices are discarded.
See Also