IEnumVertex2 Interface

Provides access to members that extend IEnumVertex.

Members

Name 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_​Attribute Sets attribute values at the current vertex.
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.

IEnumVertex2.WKSNext Method

Returns the next vertex as a WKS Point structure and its location in the geometry.

Public Sub WKSNext ( _
    ByRef outVertex As WKSPoint, _
    ByRef outPartIndex As Integer, _
    ByRef vertexIndex As Integer _
)
public void WKSNext (
    ref WKSPoint outVertex,
    ref int outPartIndex,
    ref int vertexIndex
);

Description

The WKSNext method returns the next vertex in the Enumerator as a WKSPoint structure instead of an IPoint object like the IEnumvertex::Next method does.

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

Classes that implement IEnumVertex2

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.