This document is archived and information here might be outdated.  Recommended version.


IEnumVertex2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IEnumVertex2 Interface

Provides access to members that extend IEnumVertex.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method Clone Returns a copy of this enumerator positioned at the same vertex.
Method IsLastInPart Indicates if the current vertex is last in the current part.
Method Next Returns the next vertex and its location within the geometry.
Method NextInPart Returns the next vertex in current part, or goes back to the first vertex in the part after last vertex in part is encountered.
Method Previous Returns the previous vertex and its location in the geometry.
Method put_ID Sets the ID attribute of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_M Sets the M attribute of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_X Sets the X coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_Y Sets the Y coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_Z Sets the Z coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method QueryNext Copies the next vertex to the input parameter and returns its location in the geometry.
Method QueryNextInPart Copies the next vertex in the current part to the input parameter and returns its location in current part. Continues with the first vertex in the part if already at the end.
Method QueryPrevious Copies the previous vertex to the input parameter and returns its location in the geometry.
Method Reset Starts from the beginning of the geometry the next time Next is called.
Method ResetToEnd Starts from the end of the geometry the next time Previous is called.
Method SetAt Resets enumerator to specific location.
Method Skip Skips forward or backward over a specified number of vertices.
Method WKSNext Returns the next vertex as a WKS Point structure and its location in the geometry.

Inherited Interfaces

Interfaces Description
IEnumVertex Provides access to members that iterate over the vertices or points of a geometry (see the EnumVertices property of the IPointCollection interface).

.NET Related Topics

How to use the IEnumVertex methods