VertexRemovedEventArgs Constructor Cognex VisionPro 9.23

Construct the VertexRemovedEventArgs object with the supplied index and new number of vertices. When the VertexRemovedEvent has been caused by setting NumVertices to a value less than the existing number of vertices, the index will be -1 (i.e. removed from the end of the list of vertices).

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
Syntax

public VertexRemovedEventArgs(
	int index,
	int newNumVertices
)

Parameters

index
Type: System Int32
The index of the removed vertex. -1 means that vertices were removed at the end until the number of vertices equaled newNumVertices.
newNumVertices
Type: System Int32
The new number of vertices in the Polygon.
See Also