VertexRemovedEventArgs ClassCognex VisionPro 9.25 SR1

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.

Inheritance Hierarchy

System Object
  System EventArgs
    Cognex.Vision EventArgs
      Cognex.Vision VertexRemovedEventArgs

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

public sealed class VertexRemovedEventArgs : EventArgs, 
	IObject

The VertexRemovedEventArgs type exposes the following members.

Constructors

  NameDescription
Public methodVertexRemovedEventArgs

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).

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides EventArgs Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides EventArgs GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two VertexRemovedEventArgs objects.
Public operatorStatic memberInequality
Compares the inequality of two VertexRemovedEventArgs objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides EventArgs Handle.)
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 Polygon.

Top
See Also