|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMRouterSetup
Provides access to router settings, such as restrictions, backtrack policy, length units.
Method Summary | |
---|---|
void |
clearAllRestrictions()
Removes all restrictions set on the route solver. |
int |
getBacktrackPolicy()
Controls the backtrack policy of the route solver. |
int |
getDirectionsLengthUnits()
The output length units used in driving directions. |
void |
setBacktrackPolicy(int pVal)
Controls the backtrack policy of the route solver. |
void |
setDirectionsLengthUnits(int pVal)
The output length units used in driving directions. |
void |
setRestriction(ISMRestriction pRestriction)
Sets a restriction to be used by the route solver. |
Method Detail |
---|
void setRestriction(ISMRestriction pRestriction) throws IOException, AutomationException
The SetRestriction method can be called multiple times to set multiple restrictions on the route solver.
pRestriction
- A reference to a com.esri.arcgis.datasourcesfile.ISMRestriction (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearAllRestrictions() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getBacktrackPolicy() throws IOException, AutomationException
The BacktrackPolicy affects how the solver handles U-turns. Please see the esriSMBacktrackPolicy enumeration for possible options.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBacktrackPolicy(int pVal) throws IOException, AutomationException
pVal
- A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDirectionsLengthUnits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDirectionsLengthUnits(int pVal) throws IOException, AutomationException
pVal
- A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant (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 |