Returns the opposite junctions of the adjacent edges found with FindAdjacent into the specified user-defined array.
[Visual Basic .NET] Public Sub QueryAdjacentJunctions ( _ ByVal Count As Integer, _ ByRef adjacentJunctionEIDs As Integer, _ ByRef adjacentJunctionsWeightValue As Object _ )
[C#] public void QueryAdjacentJunctions ( int Count, ref int adjacentJunctionEIDs, ref object adjacentJunctionsWeightValue );
[C++]
HRESULT QueryAdjacentJunctions(
long Count,
long* adjacentJunctionEIDs,
VARIANT* adjacentJunctionsWeightValue
);
[C++]Parameters
Count [in] Count is a parameter of type long adjacentJunctionEIDs [out] adjacentJunctionEIDs is a parameter of type long adjacentJunctionsWeightValue [out] adjacentJunctionsWeightValue is a parameter of type VARIANT
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
QueryAdjacentJunctions returns an array of adjacent
junctions and their weights. The array has
adjacentEdgesCount entries, where adjacentEdgesCount
is the value returned by FindAdjacent.
See also the QueryAdjacentJunction request.
See also the QueryAdjacentJunction request.
Remarks
adjacentJunctionEIDs and
adjacentJunctionsWeightValue are arrays that are dimensioned
to at least adjacentEdgesCount, as returned by FindAdjacent.
Note that the MaxDegree property of
INetwork will tell you the
maximum number of edges for any junction, and you can use this to
allocate memory for these arrays. Count is equal to
adjacentEdgesCount from FindAdjacent.
AdjacentJunctionsWeightValue contain weight values specified in the CreateForwardStar method of the INetwork interface.
AdjacentJunctionsWeightValue contain weight values specified in the CreateForwardStar method of the INetwork interface.
[C#]
This method is not callable from C#. Please use IForwardStarGEN::QueryAdjacentJunctions.
[Visual Basic .NET]
This method is not callable from VB.NET. Please use IForwardStarGEN::QueryAdjacentJunctions.
See Also
IForwardStar Interface | IForwardStar.FindAdjacent Method | IForwardStar.QueryAdjacentEdge Method | IForwardStar.QueryAdjacentJunction Method | IForwardStar.Network Property | IForwardStar.QueryAdjacentEdges Method | IForwardStar.QueryAdjacentJunctions Method | IForwardStar.QueryAtTurns Method | INetwork.CreateForwardStar Method | IForwardStar.QueryAtTurn Method