com.esri.arcgis.geodatabase
Interface INetworkEdge2

All Superinterfaces:
INetworkEdge, INetworkElement, Serializable
All Known Implementing Classes:
INetworkEdge2Proxy, NetworkEdge

public interface INetworkEdge2
extends INetworkEdge, Serializable

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 Object getAttributeValueAtTime(int attributeID, Date localTime, int timeUsage)
          Value of this network element for the given network attribute ID and local time.
 int getCoveredEdgeCount()
          Indicates if the network edge element has a covering hyperedge.
 Object getPartialEdgeAttributeValue(double fromPosition, double toPosition, int attributeID)
          Value of this edge element along the given range for the given network attribute ID.
 Object getPartialEdgeAttributeValueAtTime(double fromPosition, double toPosition, int attributeID, Date localTime, int timeUsage)
          Value of this partial edge element for the given network attribute ID and local.
 boolean isHasCoveringHyperedge()
          Indicates if the network edge element has a covering hyperedge.
 boolean isHyperedge()
          Indicates if the network edge element is a hyperedge.
 void queryCoveredEdge(int index, INetworkEdge edge)
          Indicates if the network edge element has a covering hyperedge.
 void queryCoveringHyperedge(INetworkEdge edge, double[] fromPosition, double[] toPosition)
          Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge.
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkEdge
getDirection, getFromAzimuth, getPositionAlongObject, getToAzimuth, getTurnCount, getTurnParticipationType, queryEdgeInOtherDirection, queryJunctions, queryPositions, queryTurn
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkElement
getAttributeValue, getAttributeValueByName, getEID, getElementType, getOID, getSourceID
 

Method Detail

getPartialEdgeAttributeValue

Object getPartialEdgeAttributeValue(double fromPosition,
                                    double toPosition,
                                    int attributeID)
                                    throws IOException,
                                           AutomationException
Value of this edge element along the given range for the given network attribute ID.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
attributeID - The attributeID (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeValueAtTime

Object getAttributeValueAtTime(int attributeID,
                               Date localTime,
                               int timeUsage)
                               throws IOException,
                                      AutomationException
Value of this network element for the given network attribute ID and local time.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
attributeID - The attributeID (in)
localTime - The localTime (in)
timeUsage - A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPartialEdgeAttributeValueAtTime

Object getPartialEdgeAttributeValueAtTime(double fromPosition,
                                          double toPosition,
                                          int attributeID,
                                          Date localTime,
                                          int timeUsage)
                                          throws IOException,
                                                 AutomationException
Value of this partial edge element for the given network attribute ID and local.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
attributeID - The attributeID (in)
localTime - The localTime (in)
timeUsage - A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHyperedge

boolean isHyperedge()
                    throws IOException,
                           AutomationException
Indicates if the network edge element is a hyperedge.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The isHyperedge
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasCoveringHyperedge

boolean isHasCoveringHyperedge()
                               throws IOException,
                                      AutomationException
Indicates if the network edge element has a covering hyperedge.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The hasCoveringHyperedge
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCoveringHyperedge

void queryCoveringHyperedge(INetworkEdge edge,
                            double[] fromPosition,
                            double[] toPosition)
                            throws IOException,
                                   AutomationException
Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
fromPosition - The fromPosition (out: use single element array)
toPosition - The toPosition (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoveredEdgeCount

int getCoveredEdgeCount()
                        throws IOException,
                               AutomationException
Indicates if the network edge element has a covering hyperedge.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The coveredEdgeCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCoveredEdge

void queryCoveredEdge(int index,
                      INetworkEdge edge)
                      throws IOException,
                             AutomationException
Indicates if the network edge element has a covering hyperedge.

Remarks

Using the CoveredEdgeCount property to find the range of values to use as an index, QueryCoveredEdge is called to iterate over the edges that are covered by this hyperedge.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
edge - A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.