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 | |
---|---|---|
Clone | Returns a copy of this enumerator positioned at the same vertex. | |
IsLastInPart | Indicates if the current vertex is last in the current part. | |
Next | Returns the next vertex and its location within the geometry. | |
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. | |
NextInSequence | Returns the next split point along with its location in the geometry. | |
OldID | The original PointID value at the split location before the split happened. | |
OldM | The original M value at the current split location before the split happened. | |
OldZ | The original Z value at the current split location before the split happened. | |
Previous | Returns the previous vertex and its location in the geometry. | |
PreviousInSequence | Returns the previous split point along with its location in the geometry. | |
put_Attribute | Sets attribute values at the current vertex. | |
put_ID | Sets the ID attribute of the current vertex. For segment-based geometries, this will modify a pair of segments. | |
put_M | Sets the M attribute of the current vertex. For segment-based geometries, this will modify a pair of segments. | |
put_X | Sets the X coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments. | |
put_Y | Sets the Y coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments. | |
put_Z | Sets the Z coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments. | |
QueryNext | Copies the next vertex to the input parameter and returns its location in the geometry. | |
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. | |
QueryOldAttributes | Returns the original attributes at the current split location before the split happened. | |
QueryPrevious | Copies the previous vertex to the input parameter and returns its location in the geometry. | |
Reset | Starts from the beginning of the geometry the next time Next is called. | |
ResetToEnd | Starts from the end of the geometry the next time Previous is called. | |
SetAt | Resets enumerator to specific location. | |
Skip | Skips forward or backward over a specified number of vertices. | |
SplitDistance | The distance of the current split vertex from the beginning of the polycurve. | |
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 |
---|