IEnumSplitPoint Interface

Provides access to members that iterate over the new vertices in a geometry introduced as a result of using SplitAtPoints/SplitAtDistances.

Description

The IEnumSplitPoint is used by the IPolycurve2::SplitAtPoints and the IPolycurve2::SplitAtDistances methods.

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 NextInSequence Returns the next split point along with its location in the geometry.
Read-only property OldID The original PointID value at the split location before the split happened.
Read-only property OldM The original M value at the current split location before the split happened.
Read-only property OldZ The original Z value at the current split location before the split happened.
Method Previous Returns the previous vertex and its location in the geometry.
Method PreviousInSequence Returns the previous split point along with 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 QueryOldAttributes Returns the original attributes at the current split location before the split happened.
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.
Read-only property SplitDistance The distance of the current split vertex from the beginning of the polycurve.
Read-only property SplitHappened Indicates whether or not a split was performed at the current vertex (a split point could be the same as a vertex existing before SplitAtPoints/Distances was used).

IEnumSplitPoint.NextInSequence Method

Returns the next split point along with its location in the geometry.

Public Sub NextInSequence ( _
    ByRef splitPoint As IPoint, _
    ByRef part As Integer, _
    ByRef vertex As Integer _
)
public void NextInSequence (
    ref IPoint splitPoint,
    ref int part,
    ref int vertex
);

Description

The NextInSequence method returns an IPoint object along with its part index and its vertex index. The points returned by that method are the input splitPoints if the IEnumSplitPoint was created using the IPolycurve2::SplitAtPoints method or they are points located on the split curve if the IPolycurve2::SplitAtDistances method was used.

IEnumSplitPoint.OldID Property

The original PointID value at the split location before the split happened.

Public ReadOnly Property OldID As Integer
public int OldID {get;}

IEnumSplitPoint.OldM Property

The original M value at the current split location before the split happened.

Public ReadOnly Property OldM As Double
public double OldM {get;}

IEnumSplitPoint.OldZ Property

The original Z value at the current split location before the split happened.

Public ReadOnly Property OldZ As Double
public double OldZ {get;}

IEnumSplitPoint.PreviousInSequence Method

Returns the previous split point along with its location in the geometry.

Public Sub PreviousInSequence ( _
    ByRef splitPoint As IPoint, _
    ByRef part As Integer, _
    ByRef vertex As Integer _
)
public void PreviousInSequence (
    ref IPoint splitPoint,
    ref int part,
    ref int vertex
);

IEnumSplitPoint.QueryOldAttributes Method

Returns the original attributes at the current split location before the split happened.

Public Sub QueryOldAttributes ( _
    ByRef oldAttributes As esriPointAttributes _
)
public void QueryOldAttributes (
    ref esriPointAttributes oldAttributes
);

IEnumSplitPoint.SplitDistance Property

The distance of the current split vertex from the beginning of the polycurve.

Public ReadOnly Property SplitDistance As Double
public double SplitDistance {get;}

IEnumSplitPoint.SplitHappened Property

Indicates whether or not a split was performed at the current vertex (a split point could be the same as a vertex existing before SplitAtPoints/Distances was used).

Public ReadOnly Property SplitHappened As Boolean
public bool SplitHappened {get;}

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 IEnumSplitPoint

Classes Description

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