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


IComplexEdgeFeature.ConnectAtIntermediateVertices Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IComplexEdgeFeature.ConnectAtIntermediateVertices Method

Attempt to connect at the locations corresponding to intermediate vertices.

[Visual Basic .NET]
Public Sub ConnectAtIntermediateVertices ( _
)
[C#]
public void ConnectAtIntermediateVertices (
);
[C++]
HRESULT ConnectAtIntermediateVertices(
void
);

Product Availability

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

Remarks

The ConnectAtIntermediateVertices method will connect a complex edge feature to any junction which is coincident with an intermediate vertex.  The ConnectAtIntermediateVertices method takes the geometry associated with the complex edge and performs a spatial query at each vertex on the polyline. The spatial query obtains any coincident junction features and if any junction feature is found to be coincident at a vertex, establishes connectivity between the first junction and the complex edge. This is an expensive method; the cost is linearly related to the number of vertices found in the polyline. Thus, it takes longer on longer complex edges.ConnectAtIntermediateVertices can be used any time when a complex edge feature has junctions which are coincident but not connected, at midspan.

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

 

See Also

IComplexEdgeFeature Interface