ArcObjects Library Reference (GeoDatabase)  

INetTopology.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, _
    ByVal adjacentEdgesCount As Integer, _
    ByRef adjacentEdges As Integer, _
    ByRef reverseOrientation As Boolean _
)
[C#]
public void GetAdjacentEdges (
    int AtJunctionEID,
    int adjacentEdgesCount,
    ref int adjacentEdges,
    ref bool reverseOrientation
);
[C++]
HRESULT GetAdjacentEdges(
  long AtJunctionEID,
  long adjacentEdgesCount,
  long* adjacentEdges,
  VARIANT_BOOL* reverseOrientation
);
[C++]

Parameters

AtJunctionEID [in]   AtJunctionEID is a parameter of type long adjacentEdgesCount [in]   adjacentEdgesCount is a parameter of type long adjacentEdges [out]   adjacentEdges 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

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.

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

[C#]

This method is not callable from C#.  Please see INetTopologyEditGEN::GetAdjacentEdges.

[Visual Basic .NET]

This method is not callable from VB.NET.  Please see INetTopologyEditGEN::GetAdjacentEdges.

See Also

INetTopology Interface