Remove the specified vertex from the polygon. Index must be >= 0 and < NumVertices.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
Parameters
- index
- Type: System Int32
Index of the vertex.
Events
| Event Type | Reason |
|---|---|
| CogPolygon Changed | Fires when a vertex is removed. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | index < 0 |
| ArgumentException | index >= NumVertices |
Remarks
Removes the specified vertex from the polygon. index must be >= 0 and < NumVertices.
See Also