|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineNetworkAnalystHelper
Provides access to actions that operate on the network analyst extension.
Method Summary | |
---|---|
void |
addNetworkLocation(IPoint pPoint,
String name)
Adds a network location to the NAWindow at the specified point. |
void |
deleteAllNetworkLocations()
Delete all network locations of active category for active analysis. |
INAStreetDirectionsContainer |
getDirections()
Get directions after solving. |
void |
solve()
Solve for current network locations. |
Method Detail |
---|
void addNetworkLocation(IPoint pPoint, String name) throws IOException, AutomationException
Adds the specified point to the IEngineNAWindow::ActiveCategory of the IEngineNAWindow::ActiveAnalysis layer as a network location.
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteAllNetworkLocations() throws IOException, AutomationException
Deletes all network locations in the IEngineNAWindow::ActiveCategory of the IEngineNAWindow::ActiveAnalysis layer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INAStreetDirectionsContainer getDirections() throws IOException, AutomationException
Use the GetDirections method after using the Solve method to return directions contents in XML format. Using GetDirections before the Solve method will return nothing.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void solve() throws IOException, AutomationException
Solve performs network analysis based upon the IEngineNAWindow::ActiveAnalysis layer and the NAContext.
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 |