This class holds data provided by the VertexRemoved event. The VertexRemoved event fires after one, or possibly several vertices are removed from the CogPolygon as a result of calling RemoveVertex() or NumVertices().
Inheritance Hierarchy
System EventArgs
Cognex.VisionPro CogVertexRemovedEventArgs
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
The CogVertexRemovedEventArgs type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogVertexRemovedEventArgs | Construct the CogVertexRemovedEventArgs object with the supplied index and new number of vertices. When the VertexRemoved event has been caused by calling NumVertices() with an argument less than the existing number of vertices, the index will be -1 (i.e. removed from the end of the list of vertices). |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Index | The index of the removed vertex. -1 means that vertices were removed at the end until the number of vertices equaled newNumVertices. | |
| NewNumVertices | The new number of vertices in the CogPolygon. |
See Also