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


INetTopologyEditGEN.GetAdjacentEdges Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetTopologyEditGEN.GetAdjacentEdges Method

Returns the network element IDs of all the edges adjacent to the specified junction.

[Visual Basic .NET]
Public Sub GetAdjacentEdges ( _
    ByVal AtJunctionEID As Integer, _
    ByRef adjacentEdges As Int32[]&, _
    ByRef reverseOrientation As Boolean[]& _
)
[C#]
public void GetAdjacentEdges (
    int AtJunctionEID,
    ref Int32[]& adjacentEdges,
    ref Boolean[]& reverseOrientation
);
[C++]
HRESULT GetAdjacentEdges(
  long AtJunctionEID,
  adjacentEdges* adjacentEdges,
  reverseOrientation* reverseOrientation
);
[C++]

Parameters AtJunctionEID [in] AtJunctionEID is a parameter of type long adjacentEdges [in, out] adjacentEdges is a parameter of type reverseOrientation [in, out] reverseOrientation is a parameter of type

Product Availability

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

Remarks

GetAdjacentEdges returns an array of the edges connected to the specified junction, along with their orientation.

A ReverseOrientation of True indicates that the Junction is at the To end of the edge, while False indicates the opposite.

INetTopologyEditGEN::GetAdjacentEdges is marked as hidden, since its functionality is similar to IForwardStarGEN::QueryAdjacentEdges(). Clients should use QueryAdjacentEdges in lieu of using INetTopologyEditGEN::GetAdjacentEdges.

See Also

INetTopologyEditGEN Interface