com.esri.arcgis.networkanalyst
Interface INAStreetDirection2

All Superinterfaces:
INAStreetDirection, Serializable
All Known Implementing Classes:
INAStreetDirection2Proxy

public interface INAStreetDirection2
extends INAStreetDirection, Serializable

Provides access to a street direction item.

Remarks

The INAStreetDirection2 interface is used to retrieve the cumulative length and estimated arrival time for a particular street direction.

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.