|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMDirections
Provides access to the driving directions information (path geometry and description of each path segment).
Provides driving directions information including path geometry and a detailed description for each path segment.
Method Summary | |
---|---|
ISMRouterEnvelope |
getBoundBox()
The geographic extent of the entire route. |
int |
getCount()
The total number of items in the driving directions object. |
ISMDirItem |
getItem(int position)
A reference to a direction item by its position. |
Date |
getTotalDrivingTime()
The total driving time for the route. |
double |
getTotalLength()
The total length of the route (in miles by default). |
String |
getTotalsText()
A string containing the total time and length of the route. |
Date |
getTotalTime()
The total time of the entire trip. |
Method Detail |
---|
double getTotalLength() throws IOException, AutomationException
Returns total length (in miles) of the route found.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getTotalTime() throws IOException, AutomationException
Returns total time of the trip.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getTotalDrivingTime() throws IOException, AutomationException
Returns the total driving time for the route.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getTotalsText() throws IOException, AutomationException
Returns text string consisting of the total time and length of the route.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISMRouterEnvelope getBoundBox() throws IOException, AutomationException
Returns the geographic extent of the entire route path.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
Returns the number of items in the driving direction object.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISMDirItem getItem(int position) throws IOException, AutomationException
position
- The position (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 |