|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INAStreetDirection
Provides access to a street direction item.
INAStreetDirection has been superseded by INAStreetDirection3.
| Method Summary | |
|---|---|
double |
getDriveTime()
The driving time. |
IEnvelope |
getEnvelope()
The bounding box of the item. |
double |
getLength()
The driving Length (in directions length units). |
IPoint |
getManeuverPoint()
The maneuver point of the item. |
INATraversalResultElement |
getResultElement(int index)
The result object by index. |
int |
getResultObjectCount()
The number of result objects that belong to this direction. |
String |
getString(int index)
The direction string by its index. |
int |
getStringCount()
The count of direction strings in this item. |
int |
getStringType(int index)
The direction string type by its index. |
double |
getTime()
The time spent. |
| Method Detail |
|---|
int getStringCount()
throws IOException,
AutomationException
StringCount returns the number of direction strings.
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.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getString(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getStringType(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getLength()
throws IOException,
AutomationException
Length returns the length of the particular direction element.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getTime()
throws IOException,
AutomationException
Time returns the travel time of the particular direction element.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getDriveTime()
throws IOException,
AutomationException
DriveTime returns the driving time of the particular direction element.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnvelope getEnvelope()
throws IOException,
AutomationException
Envelope returns the geographic envelope of the direction.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPoint getManeuverPoint()
throws IOException,
AutomationException
ManeuverPoint returns the point of the turn of the direction.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getResultObjectCount()
throws IOException,
AutomationException
ResultObjectCount returns the number of traversal result elements associated with the direction element.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INATraversalResultElement getResultElement(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||