com.esri.arcgis.networkanalyst
Interface INAStreetDirection2

All Superinterfaces:
INAStreetDirection, Serializable
All Known Subinterfaces:
INAStreetDirection3
All Known Implementing Classes:
INAStreetDirection2Proxy, INAStreetDirection3Proxy

public interface INAStreetDirection2
extends INAStreetDirection, Serializable

Provides access to a street direction item.

Remarks

The INAStreetDirection2 interface provides access to each direction element.

Product Availability

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


Method Summary
 double getCumulativeLength()
          The cumulative driving length (in directions length units).
 Date getEstimatedArrivalTime()
          The estimated time of arrival.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirection
getDriveTime, getEnvelope, getLength, getManeuverPoint, getResultElement, getResultObjectCount, getString, getStringCount, getStringType, getTime
 

Method Detail

getCumulativeLength

double getCumulativeLength()
                           throws IOException,
                                  AutomationException
The cumulative driving length (in directions length units).

Remarks

CumulativeLength returns the cumulative length from the beginning of the route.

Product Availability

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

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

getEstimatedArrivalTime

Date getEstimatedArrivalTime()
                             throws IOException,
                                    AutomationException
The estimated time of arrival.

Remarks

EstimatedArrivalTime returns the estimated time of arrival at the direction element.

Product Availability

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

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