|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMStop
Provides access to the route stop properties.
Provides information about the route stop.
Method Summary | |
---|---|
String |
getDescription()
Descriptive text of the route stop used in driving directions. |
short |
getDuration()
Stop duration in minutes. |
ISMFlag |
getFlag()
The SMFlag object of the stop that describes its geographic location. |
double |
getMinDistanceToTurn()
Minimal allowed distance to turn. |
int |
getStopID()
Numeric identifier of the user defined route stop. |
boolean |
isEnforceSideOfStreet()
Indicates whether shortest path is restricted when traveling to and from the given stop. |
void |
setDescription(String pVal)
Descriptive text of the route stop used in driving directions. |
void |
setDuration(short pVal)
Stop duration in minutes. |
void |
setEnforceSideOfStreet(boolean pbESS)
Indicates whether shortest path is restricted when traveling to and from the given stop. |
void |
setFlag(ISMFlag pVal)
The SMFlag object of the stop that describes its geographic location. |
void |
setMinDistanceToTurn(double pdDist)
Minimal allowed distance to turn. |
void |
setStopID(int pVal)
Numeric identifier of the user defined route stop. |
Method Detail |
---|
int getStopID() throws IOException, AutomationException
Represents the numeric user-defined stop identifier.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStopID(int pVal) throws IOException, AutomationException
Sets the numeric user-defined stop identifier.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDescription() throws IOException, AutomationException
Returns the description text of the stop.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDescription(String pVal) throws IOException, AutomationException
Sets the description text of the stop.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISMFlag getFlag() throws IOException, AutomationException
Returns the ISMFlag interface of the stop.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFlag(ISMFlag pVal) throws IOException, AutomationException
Sets the ISMFlag interface of the stop.
pVal
- A reference to a com.esri.arcgis.datasourcesfile.ISMFlag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getDuration() throws IOException, AutomationException
Returns stop duration in minutes.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDuration(short pVal) throws IOException, AutomationException
Sets stop duration in minutes.
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMinDistanceToTurn() throws IOException, AutomationException
Returns the minimum allowed distance to turn.
This value is used to indicate how SMRouter should handle the first turn of each route leg. The Router generates the shortest path route in a way that the first turn does not appear within the MinDistanceToTurn specified in miles, unless a turn is required to proceed based on the current direction of travel (i.e. road ends, fork in the road, etc.) In the scenario where a turn is required, the route is generated from the street that has the least turn angle from the preceding street. In the case where turn angles are within 10° of each other, these are considered equal turn angles, and the route is generated from the intersection that is being traveled through.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMinDistanceToTurn(double pdDist) throws IOException, AutomationException
Sets the minimal allowed distance for a turn.
This value is used to indicate how SMRouter should handle the first turn of each route leg. The Router generates the shortest path route in a way that the first turn does not appear within the MinDistanceToTurn specified in miles, unless a turn is required to proceed based on the current direction of travel (i.e. road ends, fork in the road, etc.) In the scenario where a turn is required, the route is generated from the street that has the least turn angle from the preceding street. In the case where turn angles are within 10° of each other, these are considered equal turn angles, and the route is generated from the intersection that is being traveled through.
pdDist
- The pdDist (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEnforceSideOfStreet() throws IOException, AutomationException
Enforces street side at the stop. Returns the street side.
If this value is set to true, the shortest path is restricted when traveling to and from the given stop. The restriction is that the shortest path can enter the street from only one end-point and exit from the other, depending on which side of the street the stop is located. If the flag is not set, the shortest path can enter the street in either direction. Unless otherwise specified by the caller, the default value for this flag is false.
Note: If the street is one-way, the shortest path always enters the street in the correct direction.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEnforceSideOfStreet(boolean pbESS) throws IOException, AutomationException
Enforces street side at the stop. Sets the street side.
If this value is set to true, the shortest path is restricted when traveling to and from the given stop. The restriction is that the shortest path can enter the street from only one end-point and exit from the other, depending on which side of the street the stop is located. If the flag is not set, the shortest path can enter the street in either direction. Unless otherwise specified by the caller, the default value for this flag is false.
Note: If the street is one-way, the shortest path always enters the street in the correct direction.
pbESS
- The pbESS (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 |