Provides access to members that specify the properties of this network junction element.
Members
Name | Description | |
---|---|---|
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 adjacent to this network junction element. | |
EID | Element ID for this network element. | |
ElementType | Type of this network element. | |
OID | Object ID of the object corresponding to this network element. | |
QueryEdge | Queries the index'th network edge element adjacent to this network junction element. | |
QueryPoint | Queries the point object corresponding to this network junction element. | |
QueryTurn | Queries the index'th network turn element anchored at this network junction element. | |
SourceID | ID of the network dataset source from which this network element was derived. | |
TurnCount | Number of network turn elements anchored at this network junction. |
INetworkJunction.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
);
INetworkJunction.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
);
INetworkJunction.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
);
INetworkJunction.EdgeCount Property
Number of network edge elements adjacent to this network junction element.
Public ReadOnly Property EdgeCount As Integer
public int EdgeCount {get;}
Remarks
The EdgeCount is the number of adjacent edge elements leaving this junction.
INetworkJunction.EID Property
Element ID for this network element.
Public ReadOnly Property EID As Long
public long EID {get;}
INetworkJunction.ElementType Property
Type of this network element.
Public ReadOnly Property ElementType As esriNetworkElementType
public esriNetworkElementType ElementType {get;}
INetworkJunction.OID Property
Object ID of the object corresponding to this network element.
Public ReadOnly Property OID As Long
public long OID {get;}
INetworkJunction.QueryEdge Method
Queries the index'th network edge element adjacent to this network junction element.
Public Sub QueryEdge ( _
ByVal Index As Integer, _
ByVal leavingJunction As Boolean, _
ByVal Edge As INetworkEdge _
)
public void QueryEdge (
int Index,
bool leavingJunction,
INetworkEdge Edge
);
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.
INetworkJunction.QueryPoint Method
Queries the point object corresponding to this network junction element.
Public Sub QueryPoint ( _
ByVal point As IPoint _
)
public void QueryPoint (
IPoint point
);
Remarks
The QueryPoint method retrieves the Point geometry associated with this junction element.
This method requires an instantiated Pointobject 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).
INetworkJunction.QueryTurn Method
Queries the index'th network turn element anchored at this network junction element.
Public Sub QueryTurn ( _
ByVal Index As Integer, _
ByVal Turn As INetworkTurn _
)
public void QueryTurn (
int Index,
INetworkTurn Turn
);
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.
INetworkJunction.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;}
INetworkJunction.TurnCount Property
Number of network turn elements anchored at this network junction.
Public ReadOnly Property TurnCount As Integer
public int TurnCount {get;}
Remarks
The TurnCount is the number of turn elements that are anchored to this junction. A turn element is anchored at a junction if the last two edges of the turn pass through the junction.
Classes that implement INetworkJunction
Classes | Description |
---|
Remarks
The INetworkJunction interface is used to query the network junction element for other network elements adjacent to it.