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


INetTopology.GetAdjacentEdge Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetTopology.GetAdjacentEdge Method

Returns the network element ID of the index'th adjacent edge to the specified junction.

[Visual Basic .NET]
Public Sub GetAdjacentEdge ( _
    ByVal AtJunctionEID As Integer, _
    ByVal Index As Integer, _
    ByRef adjacentEdge As Integer, _
    ByRef reverseOrientation As Boolean _
)
[C#]
public void GetAdjacentEdge (
    int AtJunctionEID,
    int Index,
    ref int adjacentEdge,
    ref bool reverseOrientation
);
[C++]
HRESULT GetAdjacentEdge(
  long AtJunctionEID,
  long Index,
  long* adjacentEdge,
  VARIANT_BOOL* reverseOrientation
);
[C++]

Parameters AtJunctionEID [in] AtJunctionEID is a parameter of type long Index [in] Index is a parameter of type long adjacentEdge [out] adjacentEdge is a parameter of type long reverseOrientation [out] reverseOrientation is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

The GetAdjacentEdge function returns the Element ID of the adjacent edge found at the atJunctionEID that corresponds to the index value.
A ReverseOrientation of True indicates that the Junction is at the To end of the edge, while False indicates the opposite.

See Also

INetTopology Interface