Interface INetworkTurn

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that specify the properties of this network turn.

[Guid("E284790C-E7B0-40C5-8EA8-146323BEDEFA")]
public interface INetworkTurn : INetworkElement

Remarks

The INetworkTurn interface is used to access the properties of the network turn element, such as its turning angle.

Properties

Angle

double Angle { get; }

Property Value

double

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

AttributeValue[int]

object AttributeValue[int AttributeID] { get; }

Parameters

AttributeID int

Property Value

object

AttributeValueAtTime[int, DateTime, esriNetworkTimeUsage]

object AttributeValueAtTime[int AttributeID, DateTime localTime, esriNetworkTimeUsage timeUsage] { get; }

Parameters

AttributeID int
localTime DateTime
timeUsage esriNetworkTimeUsage

Property Value

object

AttributeValueByName[string]

object AttributeValueByName[string AttributeName] { get; }

Parameters

AttributeName string

Property Value

object

EID

long EID { get; }

Property Value

long

EdgeCount

int EdgeCount { get; }

Property Value

int

ElementType

esriNetworkElementType ElementType { get; }

Property Value

esriNetworkElementType

OID

long OID { get; }

Property Value

long

SourceID

int SourceID { get; }

Property Value

int

TurnType

esriNetworkTurnType TurnType { get; }

Property Value

esriNetworkTurnType

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.

Methods

QueryAtJunction(INetworkJunction)

Queries the at-junction of this network turn.

void QueryAtJunction(INetworkJunction Junction)

Parameters

Junction INetworkJunction

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.

QueryEdge(int, INetworkEdge)

Queries the index'th edge element of this network turn.

void QueryEdge(int Index, INetworkEdge Edge)

Parameters

Index int
Edge INetworkEdge

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.