Provides access to members that query information about adjacent elements in the logical network.
To use IForwardStar, you start with the FindAdjacent method. FindAdjacent returns the number of adjacent edges to a junction which you use to iterate over the adjacent edges with the QueryAdjacent[elt] methods, where elt is the element type.
The QueryAdjacent[elt] methods return both the adjacent elements as well as the weights of the adjacent elements. An edge weight could be used to represent the cost to reach the adjacent junction. You specify what weight you want returned when you create the ForwardStar with the CreateForwardStar method on the INetwork interface.
When To Use
|FindAdjacent||Finds the edge elements that are adjacent to the given junction element and returns the count.|
|Network||Underlying network of this forward star cursor.|
|QueryAdjacentEdge||Returns index'th adjacent edge found with FindAdjacent, its orientation, and its weight value.|
|QueryAdjacentEdges||Returns the adjacent edges found with FindAdjacent into the specified user-defined array.|
|QueryAdjacentJunction||Returns the opposite junction of the index'th adjacent edge found with FindAdjacent, and the weight value for this junction.|
|QueryAdjacentJunctions||Returns the opposite junctions of the adjacent edges found with FindAdjacent into the specified user-defined array.|
|QueryAtTurn||Returns the turn through which the index'th adjacent edge found with FindAdjacent passes, and the weight value of the turn.|
|QueryAtTurns||Returns the turns through which the adjacent edges found with FindAdjacent passes into the user-defined array.|
CoClasses that implement IForwardStar
|CoClasses and Classes||Description|
|ForwardStar||A container for querying information about adjacent elements in the logical network.|
Not all members are callable from C#. Please use IForwardStarGEN instead.
Not all members are callable from VB.NET. Please use IForwardStarGEN instead.
IGraph.VertexBasedStretching Property | INetworkUpdate Interface | IUtilityNetwork Interface | IForwardStar Interface | INetwork Interface | INetworkWorkspace Interface | INetworkClass.NetworkAncillaryRole Property | INetworkClass.GeometricNetwork Property | INetworkClass.FieldToWeightMapping Property