|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMDirItem
Deprecated as of 10.1. Provides access to the description and geography of one item of driving directions.
Provides information about one item in the driving directions collection.
The ISMDirItem interface provides detailed information about one item in the driving directions collection. This is the place the route path geography can be retrieved.
Method Summary | |
---|---|
int |
getAzimuth()
The azimuth of the direction item. |
ISMRouterEnvelope |
getBoundBox()
The geographic extent of the direction item. |
String |
getDriveText()
Formatted text descrbing the length and time of the direction item. |
int |
getItemType()
The type of direction item. |
double |
getLength()
The length of the route part, in miles by default, corresponding to the direction item. |
int |
getRoutePart()
The route part number associated with a direction item. |
ISMPointsCollection |
getShape()
A collection of points representing the shape of the direction item. |
String |
getStreetName()
The street name of the direction item. |
String |
getText()
A string describing the direction item. |
double |
getTime()
The driving time of the route part corresponding to the direction item. |
double |
getTurnAngle()
The turn angle of the direction item. |
Method Detail |
---|
String getText() throws IOException, AutomationException
Provides a description of the item.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getLength() throws IOException, AutomationException
Returns length (in miles) of the route part that the item describes.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getTime() throws IOException, AutomationException
Returns the driving time for the item.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDriveText() throws IOException, AutomationException
Returns formatted text composed from the item length and time. For example, "drive 10 mi ~ 10 minutes".
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getItemType() throws IOException, AutomationException
Returns type of the driving directions item. One of esriSMDirItemType constants.
Item type can have one value from the esriSMDirItemType enumeraiton. See esriSMDirItemType for more details.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRoutePart() throws IOException, AutomationException
Route part is an ordinal associated with a direction item. It equals the ordinal number of the stop with which the current segment begins.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISMPointsCollection getShape() throws IOException, AutomationException
Returns a collection of points that represent the item shape.
Each direction item contains its shape. If you need the whole route path shape, then you need to append shapes from all items.
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 directions item.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getStreetName() throws IOException, AutomationException
Provides a street name to the corresponding item.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getTurnAngle() throws IOException, AutomationException
Provides an angle of the directions item.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAzimuth() throws IOException, AutomationException
Provides the azimuth of the directions item.
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 |