Provides access to members that specify the properties of this network turn.
Members
Name | Description | |
---|---|---|
Angle | Angle of the turning movement described by this network turn. | |
AttributeValue | Value of this network element for the given network attribute ID. | |
AttributeValueAtTime | Value of this network element for the given network attribute ID and local time. | |
AttributeValueByName | Value of this network element for the given network attribute name. | |
EdgeCount | Number of network edge elements that participate in this network turn. | |
EID | Element ID for this network element. | |
ElementType | Type of this network element. | |
OID | Object ID of the object corresponding to this network element. | |
QueryAtJunction | Queries the at-junction of this network turn. | |
QueryEdge | Queries the index'th edge element of this network turn. | |
SourceID | ID of the network dataset source from which this network element was derived. | |
TurnType | Type of network turn. |
INetworkTurn.Angle Property
Angle of the turning movement described by this network turn.
Public ReadOnly Property Angle As Double
public double Angle {get;}
Remarks
The Angle property returns the turning angle of the turn. The turning angle is determined by the difference in the azimuth values of the first and last edge elements of the turn.
The value returned for Angle ranges from 0 to 360. The Angle in measured clockwise from straight in degrees. Below are sample Angle values:
- between 0 and 90 = gentle right turn
- 90 = square right turn
- between 90 and 180 = sharp right turn
- 180 = backtracking turn (U-turn)
- between 180 and 270 = sharp left turn
- 270 = square left turn
- between 270 and 360 = gentle left turn
INetworkTurn.AttributeValue Property
Value of this network element for the given network attribute ID.
Public Function get_AttributeValue ( _
ByVal AttributeID As Integer _
) As Object
public object get_AttributeValue (
int AttributeID
);
INetworkTurn.AttributeValueAtTime Property
Value of this network element for the given network attribute ID and local time.
Public Function get_AttributeValueAtTime ( _
ByVal AttributeID As Integer, _
ByVal localTime As DateTime, _
ByVal timeUsage As esriNetworkTimeUsage _
) As Object
public object get_AttributeValueAtTime (
int AttributeID,
DateTime localTime,
esriNetworkTimeUsage timeUsage
);
INetworkTurn.AttributeValueByName Property
Value of this network element for the given network attribute name.
Public Function get_AttributeValueByName ( _
ByVal AttributeName As String _
) As Object
public object get_AttributeValueByName (
string AttributeName
);
INetworkTurn.EdgeCount Property
Number of network edge elements that participate in this network turn.
Public ReadOnly Property EdgeCount As Integer
public int EdgeCount {get;}
Remarks
The EdgeCount is the number of edge element that this turn traverses.
INetworkTurn.EID Property
Element ID for this network element.
Public ReadOnly Property EID As Long
public long EID {get;}
INetworkTurn.ElementType Property
Type of this network element.
Public ReadOnly Property ElementType As esriNetworkElementType
public esriNetworkElementType ElementType {get;}
INetworkTurn.OID Property
Object ID of the object corresponding to this network element.
Public ReadOnly Property OID As Long
public long OID {get;}
INetworkTurn.QueryAtJunction Method
Queries the at-junction of this network turn.
Public Sub QueryAtJunction ( _
ByVal Junction As INetworkJunction _
)
public void QueryAtJunction (
INetworkJunction Junction
);
Remarks
The QueryAtJunction method retrieves the junction element that anchors this turn element. The anchor junction of a turn element is the junction connecting the last two edges that the turn traverses.
This method requires an instantiated NetworkJunction object to be passed in as a parameter. You can create an empty NetworkTurn object by using the INetworkQuery::CreateNetworkElement method.
INetworkTurn.QueryEdge Method
Queries the index'th edge element of this network turn.
Public Sub QueryEdge ( _
ByVal Index As Integer, _
ByVal Edge As INetworkEdge _
)
public void QueryEdge (
int Index,
INetworkEdge Edge
);
Remarks
The QueryEdge method retrieves the edge element traversed by this turn at the specified index. The index values range from 0 to (EdgeCount - 1).
This method requires an instantiated NetworkEdge object to be passed in as a parameter. You can create an empty NetworkEdge object by using the INetworkQuery::CreateNetworkElement method.
INetworkTurn.SourceID Property
ID of the network dataset source from which this network element was derived.
Public ReadOnly Property SourceID As Integer
public int SourceID {get;}
INetworkTurn.TurnType Property
Type of network turn.
Public ReadOnly Property TurnType As esriNetworkTurnType
public esriNetworkTurnType TurnType {get;}
Remarks
The TurnType property indicates whether or not this NetworkTurn is a turn element in the network.
If the TurnType is esriNTTImplicit, then this NetworkTurn represents an implicit turn. An implicit turn is a turning movement that is implied from two adjacent edge elements where there is no turn element in the network. An implicit turn can only be returned in a NetworkTurn object by the INetworkForwardStarAdjacencies::QueryTurn method.
If the TurnType is esriNTTExplicit, then this NetworkTurn represents a turn element in the network.
Classes that implement INetworkTurn
Classes | Description |
---|
Remarks
The INetworkTurn interface is used to access the properties of the network turn element, such as its turning angle.