This class holds data provided by the VertexRemoved. The VertexRemoved is raised after one, or possibly several vertices are removed from a Polygon as a result of calling RemoveVertex or setting NumVertices.
System EventArgs
Cognex.Vision EventArgs
Cognex.Vision VertexRemovedEventArgs
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
The VertexRemovedEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| VertexRemovedEventArgs | 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). |
| Name | Description | |
|---|---|---|
| Equals | Compares the equality of this object with another. (Overrides EventArgs Equals(Object).) | |
| GetHashCode | Returns the hash code of this object. (Overrides EventArgs GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two VertexRemovedEventArgs objects. | |
| Inequality | Compares the inequality of two VertexRemovedEventArgs objects. |
| Name | Description | |
|---|---|---|
| Handle | (Overrides EventArgs Handle.) | |
| 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 Polygon. |