Interface INetworkEdge

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

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

[Guid("EADCD556-0857-41D9-9714-03B0DBB16DFB")]
public interface INetworkEdge : INetworkElement

Remarks

The INetworkEdge interface is used to access the properties of the network edge element, such as its direction of travel and azimuth values.

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

CoveredEdgeCount

int CoveredEdgeCount { get; }

Property Value

int

Direction

esriNetworkEdgeDirection Direction { get; }

Property Value

esriNetworkEdgeDirection

EID

long EID { get; }

Property Value

long

ElementType

esriNetworkElementType ElementType { get; }

Property Value

esriNetworkElementType

FromAzimuth

double FromAzimuth { get; }

Property Value

double

Remarks

The FromAzimuth property indicates the direction of travel at the starting end of the edge element.  For edge elements generated by an EdgeFeatureSource, the FromAzimuth and ToAzimuth values are measured clockwise in degrees relative to the positive Y-axis direction of the spatial reference of the network dataset.

HasCoveringHyperedge

bool HasCoveringHyperedge { get; }

Property Value

bool

IsHyperedge

bool IsHyperedge { get; }

Property Value

bool

OID

long OID { get; }

Property Value

long

PartialEdgeAttributeValue[double, double, int]

object PartialEdgeAttributeValue[double fromPosition, double toPosition, int AttributeID] { get; }

Parameters

fromPosition double
toPosition double
AttributeID int

Property Value

object

PartialEdgeAttributeValueAtTime[double, double, int, DateTime, esriNetworkTimeUsage]

object PartialEdgeAttributeValueAtTime[double fromPosition, double toPosition, int AttributeID, DateTime localTime, esriNetworkTimeUsage timeUsage] { get; }

Parameters

fromPosition double
toPosition double
AttributeID int
localTime DateTime
timeUsage esriNetworkTimeUsage

Property Value

object

PositionAlongObject[double]

double PositionAlongObject[double positionAlongElement] { get; }

Parameters

positionAlongElement double

Property Value

double

SourceID

int SourceID { get; }

Property Value

int

ToAzimuth

double ToAzimuth { get; }

Property Value

double

Remarks

The ToAzimuth property indicates the direction of travel at the terminating end of the edge element.  For edge elements generated by an EdgeFeatureSource, the FromAzimuth and ToAzimuth values are measured clockwise in degrees relative to the positive Y-axis direction of the spatial reference of the network dataset.

TurnCount

int TurnCount { get; }

Property Value

int

TurnParticipationType

esriNetworkTurnParticipationType TurnParticipationType { get; }

Property Value

esriNetworkTurnParticipationType

Methods

QueryCoveredEdge(int, INetworkEdge)

Used to iterate over the edges covered by this edge.

void QueryCoveredEdge(int Index, INetworkEdge Edge)

Parameters

Index int
Edge INetworkEdge

QueryCoveringHyperedge(INetworkEdge, out double, out double)

Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge.

void QueryCoveringHyperedge(INetworkEdge Edge, out double fromPosition, out double toPosition)

Parameters

Edge INetworkEdge
fromPosition double
toPosition double

QueryEdgeInOtherDirection(INetworkEdge)

Queries the network edge element corresponding to the reverse traversal of this network edge element.

void QueryEdgeInOtherDirection(INetworkEdge Edge)

Parameters

Edge INetworkEdge

Remarks

The QueryEdgeInOtherDirection method retrieves the edge element in the opposite direction of travel as this edge.

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.

QueryJunctions(INetworkJunction, INetworkJunction)

Queries the network junction elements adjacent to this network edge element.

void QueryJunctions(INetworkJunction FromJunction, INetworkJunction ToJunction)

Parameters

FromJunction INetworkJunction
ToJunction INetworkJunction

Remarks

The QueryJunctions method retrieves the junction elements at the ends of this edge element.

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

QueryPositions(out double, out double)

Queries the positions along the source object at which the from-end and to-end of the network edge element lies.

void QueryPositions(out double fromPosition, out double toPosition)

Parameters

fromPosition double
toPosition double

Remarks

The QueryPositions method queries the positional values along the source feature from which this edge element was created.  The position values range from 0.0 to 1.0, where 0.0 is at the from-end of the feature and 1.0 is at the to-end of the feature.

If the Direction property is esriNEDAlongDigitized, then the fromPosition value will be less than or equal to the toPositionValue.  If the Direction property is esriNEDAgainstDigitized, then the fromPosition value will be greater than or equal to the toPositionValue.

QueryTurn(int, INetworkTurn)

Queries the index'th network turn element in which this network edge element participates.

void QueryTurn(int Index, INetworkTurn Turn)

Parameters

Index int
Turn INetworkTurn

Remarks

The QueryTurn method retrieves the turn element that traverses this edge at the specified index.  The index values range from 0 to (TurnCount - 1).

The QueryTurn 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.