CogVertexRemovedEventArgs ClassCognex VisionPro 9.5
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 Object
  System EventArgs
    Cognex.VisionPro CogVertexRemovedEventArgs

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax

public class CogVertexRemovedEventArgs : EventArgs

The CogVertexRemovedEventArgs type exposes the following members.

Constructors

  NameDescription
Public methodCogVertexRemovedEventArgs
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).
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyIndex
The index of the removed vertex. -1 means that vertices were removed at the end until the number of vertices equaled newNumVertices.
Public propertyNewNumVertices
The new number of vertices in the CogPolygon.
Top
See Also