ArcObjects Library Reference (GeoDatabase)  

INetworkForwardStarAdjacencies.HasTurn Property

Indicates if the adjacent edge at the specified index has a turn.

[Visual Basic .NET]
Public Function get_HasTurn ( _
    ByVal Index As Integer _
) As Boolean
[C#]
public bool get_HasTurn (
    int Index
);
[C++]
HRESULT get_HasTurn(
  long Index,
  VARIANT_BOOL* HasTurn
);
[C++]

Parameters

Index [in]   Index is a parameter of type long HasTurn [out, retval]   HasTurn is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

The NetworkForwardStarAdjacencies object holds the adjacent network elements that were queried by calling the INetworkForwardStarEx::QueryAdjacencies method.

The HasTurn property determines whether or not the QueryTurn method will return a turn element. If HasTurn = True for some index value, then the adjacent edge returned by QueryEdge for that same index value is the last edge of a turn. This turn may be retrieved using QueryTurn for that index value.

See Also

INetworkForwardStarAdjacencies Interface