com.esri.arcgis.networkanalyst
Interface INACompactStreetDirection2

All Superinterfaces:
INACompactStreetDirection, Serializable
All Known Implementing Classes:
INACompactStreetDirection2Proxy

public interface INACompactStreetDirection2
extends INACompactStreetDirection, Serializable

Provides access to a compact street direction item.

Product Availability

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


Method Summary
 double getDepartBearing()
          The depart bearing of the item.
 IArray getEvents()
          The collection of events along the item.
 double getGeneralBearing()
          The general bearing of the item.
 String getString(int index)
          The direction string by its index.
 int getStringCount()
          The number of direction strings in this item.
 int getStringType(int index)
          The direction string type by its index.
 double getTurnAngle()
          The turn angle at the maneuver point of the item.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INACompactStreetDirection
getCompressedGeometry, getETA, getLength, getManeuverType, getText, getTime
 

Method Detail

getTurnAngle

double getTurnAngle()
                    throws IOException,
                           AutomationException
The turn angle at the maneuver point of the item.

Product Availability

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

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

getDepartBearing

double getDepartBearing()
                        throws IOException,
                               AutomationException
The depart bearing of the item.

Remarks

The travel bearing, in degrees measured clockwise from north, at the beginning of the maneuver covered by this direction item.

Product Availability

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

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

getGeneralBearing

double getGeneralBearing()
                         throws IOException,
                                AutomationException
The general bearing of the item.

Remarks

The general bearing, in degrees measured clockwise from north, of the maneuver covered by this direction item.

Product Availability

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

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

getEvents

IArray getEvents()
                 throws IOException,
                        AutomationException
The collection of events along the item.

Remarks

An event in a direction item is something that occurs during themaneuver that is not an action item. Crossing a time zone or jurisdictional boundary are examples of direction events.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStringCount

int getStringCount()
                   throws IOException,
                          AutomationException
The number of direction strings in this item.

Remarks

A direction item can be made up of multiple strings of the types delineated by esriDirectionsStringType. You can access an item's strings by using StringCount to loop over String.

Product Availability

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

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

getString

String getString(int index)
                 throws IOException,
                        AutomationException
The direction string by its index.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The directionString
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStringType

int getStringType(int index)
                  throws IOException,
                         AutomationException
The direction string type by its index.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.networkanalyst.esriDirectionsStringType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.