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


INetTopologyEditGEN.GetAdjacentEdges Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetTopologyEditGEN Interface > INetTopologyEditGEN.GetAdjacentEdges Method
ArcGIS Developer Help

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,
  SAFEARRAY(System.Int32)* adjacentEdges,
  SAFEARRAY(Boolean)* reverseOrientation
);
[C++]
Parameters
AtJunctionEID [in]

AtJunctionEID is a parameter of type long adjacentEdges [in, out]
adjacentEdges is a parameter of type SAFEARRAY(long)* reverseOrientation [in, out]
reverseOrientation is a parameter of type SAFEARRAY(bool)*

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