|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetworkGlobalTurnDelayCategory
Provides access to members that specify the turn delay for a specified category of global turns.
This interface is new at ArcGIS 9.3.
The INetworkGlobalTurnDelayCategory interface accesses the settings of a NetworkGlobalTurnDelayCategory object, such as the road classifications, angle, and travel time for each category.
Immediately after co-creating the object, use the Initialize method to define all five properties of the category. After the category has been defined, you can modify the travel time for this category by setting the Seconds property.
Method Summary | |
---|---|
int |
getAngleCategory()
The turn angle category (straight, reverse, right, or left) of turns in this turn delay category. |
int |
getCrossRoadCategory()
The road category of the most major cross road of turns in this turn delay category. |
int |
getFromRoadCategory()
The road category of the from road of turns in this turn delay category. |
double |
getSeconds()
The expected traversal time in seconds of turns associated with this turn delay category (matching angle, from road, to road, and cross road categories). |
int |
getToRoadCategory()
The road category of the to road of turns in this turn delay category. |
void |
initialize(double seconds,
int angleCategory,
int fromRoadCategory,
int toRoadCategory,
int crossRoadCategory)
Initializes the seconds and specifies the referenced category of global turns. |
void |
setSeconds(double seconds)
The expected traversal time in seconds of turns associated with this turn delay category (matching angle, from road, to road, and cross road categories). |
Method Detail |
---|
void initialize(double seconds, int angleCategory, int fromRoadCategory, int toRoadCategory, int crossRoadCategory) throws IOException, AutomationException
The FromRoadCategory and ToRoadCategory parameters can only be set to esriNRCPrimary, esriNRCSecondary, or esriNRCLocal.
seconds
- The seconds (in)angleCategory
- A com.esri.arcgis.geodatabase.esriNetworkTurnAngleCategory constant (in)fromRoadCategory
- A com.esri.arcgis.geodatabase.esriNetworkRoadCategory constant (in)toRoadCategory
- A com.esri.arcgis.geodatabase.esriNetworkRoadCategory constant (in)crossRoadCategory
- A com.esri.arcgis.geodatabase.esriNetworkRoadCategory constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSeconds() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSeconds(double seconds) throws IOException, AutomationException
seconds
- The seconds (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAngleCategory() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFromRoadCategory() throws IOException, AutomationException
The FromRoadCategory property can only be set to esriNRCPrimary, esriNRCSecondary, or esriNRCLocal.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getToRoadCategory() throws IOException, AutomationException
The ToRoadCategory property can only be set to esriNRCPrimary, esriNRCSecondary, or esriNRCLocal.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCrossRoadCategory() throws IOException, AutomationException
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 |