This document is archived and information here might be outdated. Recommended version. |
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,
Boolean* HasTurn
);
[C++]
Parameters Index [in]
Index is a parameter of type long HasTurn [out, retval]
HasTurn is a parameter of type bool*
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.