Interface INetworkJunction

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

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

[Guid("E3D2D64E-C620-4262-888A-DC724A82F62D")]
public interface INetworkJunction : INetworkElement

Remarks

The INetworkJunction interface is used to query the network junction element for other network elements adjacent to it.

Properties

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

Remarks

The EdgeCount is the number of adjacent edge elements leaving this junction.

ElementType

esriNetworkElementType ElementType { get; }

Property Value

esriNetworkElementType

OID

long OID { get; }

Property Value

long

SourceID

int SourceID { get; }

Property Value

int

TurnCount

int TurnCount { get; }

Property Value

int

Methods

QueryEdge(int, bool, INetworkEdge)

Queries the index'th network edge element adjacent to this network junction element.

void QueryEdge(int Index, bool leavingJunction, INetworkEdge Edge)

Parameters

Index int
leavingJunction bool
Edge INetworkEdge

Remarks

The QueryEdge method retrieves the edge element adjacent to this junction at the specified index.  The index values range from 0 to (EdgeCount - 1).

The leavingJunction parameter determines in which travel direction the edge element is returned.  If the leavingJunction parameter is True, then the edge element returned is the element that travels in the direction away from the junction.

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.

QueryPoint(IPoint)

Queries the point object corresponding to this network junction element.

void QueryPoint(IPoint point)

Parameters

point IPoint

Remarks

The QueryPoint method retrieves the Point geometry associated with this junction element.

This method requires an instantiated Point object to be passed in as a parameter.

On an SDC network dataset, QueryPoint returns an empty Point object for junction elements that do not connect to any edges (i.e., have an EdgeCount of zero).

QueryTurn(int, INetworkTurn)

Queries the index'th network turn element anchored at this network junction element.

void QueryTurn(int Index, INetworkTurn Turn)

Parameters

Index int
Turn INetworkTurn

Remarks

The QueryTurn method retrieves the turn element anchored to this junction at the specified index.  A turn element is anchored at a junction if the last two edges of the turn pass through the junction.  The index values range from 0 to (TurnCount - 1).

This method requires an instantiated NetworkTurn object to be passed in as a parameter.  You can create an empty NetworkTurn object by using the INetworkQuery::CreateNetworkElement method.