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
AttributeIDint
Property Value
AttributeValueAtTime[int, DateTime, esriNetworkTimeUsage]
object AttributeValueAtTime[int AttributeID, DateTime localTime, esriNetworkTimeUsage timeUsage] { get; }
Parameters
AttributeIDintlocalTimeDateTimetimeUsageesriNetworkTimeUsage
Property Value
AttributeValueByName[string]
object AttributeValueByName[string AttributeName] { get; }
Parameters
AttributeNamestring
Property Value
CoveredEdgeCount
int CoveredEdgeCount { get; }
Property Value
Direction
esriNetworkEdgeDirection Direction { get; }
Property Value
EID
long EID { get; }
Property Value
ElementType
esriNetworkElementType ElementType { get; }
Property Value
FromAzimuth
double FromAzimuth { get; }
Property Value
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
IsHyperedge
bool IsHyperedge { get; }
Property Value
OID
long OID { get; }
Property Value
PartialEdgeAttributeValue[double, double, int]
object PartialEdgeAttributeValue[double fromPosition, double toPosition, int AttributeID] { get; }
Parameters
Property Value
PartialEdgeAttributeValueAtTime[double, double, int, DateTime, esriNetworkTimeUsage]
object PartialEdgeAttributeValueAtTime[double fromPosition, double toPosition, int AttributeID, DateTime localTime, esriNetworkTimeUsage timeUsage] { get; }
Parameters
fromPositiondoubletoPositiondoubleAttributeIDintlocalTimeDateTimetimeUsageesriNetworkTimeUsage
Property Value
PositionAlongObject[double]
double PositionAlongObject[double positionAlongElement] { get; }
Parameters
positionAlongElementdouble
Property Value
SourceID
int SourceID { get; }
Property Value
ToAzimuth
double ToAzimuth { get; }
Property Value
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
TurnParticipationType
esriNetworkTurnParticipationType TurnParticipationType { get; }
Property Value
Methods
QueryCoveredEdge(int, INetworkEdge)
Used to iterate over the edges covered by this edge.
void QueryCoveredEdge(int Index, INetworkEdge Edge)
Parameters
IndexintEdgeINetworkEdge
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
EdgeINetworkEdgefromPositiondoubletoPositiondouble
QueryEdgeInOtherDirection(INetworkEdge)
Queries the network edge element corresponding to the reverse traversal of this network edge element.
void QueryEdgeInOtherDirection(INetworkEdge Edge)
Parameters
EdgeINetworkEdge
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
FromJunctionINetworkJunctionToJunctionINetworkJunction
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
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
IndexintTurnINetworkTurn
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.