com.esri.arcgis.networkanalyst
Interface INAServerRouteResults

All Superinterfaces:
INAServerSolverResults, Serializable
All Known Subinterfaces:
INAServerRouteResults2, INAServerRouteResults3
All Known Implementing Classes:
NAServerRouteResults

public interface INAServerRouteResults
extends INAServerSolverResults, Serializable

Provides access to properties that contain the results of performing route network analysis with NAServer.

Superseded By

INAServerRouteResults2

Remarks

INAServerRouteResults has been superseded by INAServerRouteResults3.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IRecordSet getBarriers()
          RecordSet of Barriers returned from the network analysis.
 INAStreetDirections[] getDirections()
          Directions for each resulting route.
 IPolyline[] getRouteGeometries()
          Polyline geometry for each resulting route.
 IRecordSet getRoutes()
          RecordSet of Routes returned from the network analysis.
 IRecordSet getStops()
          RecordSet of Stops returned from the network analysis.
 double[] getTotalImpedances()
          Total accumulated cost on the impedance attribute for each resulting route.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverResults
getMapImage, getSolveMessages
 

Method Detail

getTotalImpedances

double[] getTotalImpedances()
                            throws IOException,
                                   AutomationException
Total accumulated cost on the impedance attribute for each resulting route.

Remarks

TotalImpedances returns an array of doubles representing the total impedance for each Route.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The totalImpedances
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRouteGeometries

IPolyline[] getRouteGeometries()
                               throws IOException,
                                      AutomationException
Polyline geometry for each resulting route.

Remarks

RouteGeometries returns an array of Polyline geometries representing the route taken for each Route.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geometry.IPolyline array
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRoutes

IRecordSet getRoutes()
                     throws IOException,
                            AutomationException
RecordSet of Routes returned from the network analysis.

Remarks

Routes returns an IRecordSet that holds the Routes found during analysis.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStops

IRecordSet getStops()
                    throws IOException,
                           AutomationException
RecordSet of Stops returned from the network analysis.

Remarks

Stops returns an IRecordSet that holds the Stops used during analysis.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBarriers

IRecordSet getBarriers()
                       throws IOException,
                              AutomationException
RecordSet of Barriers returned from the network analysis.

Remarks

Barriers returns an IRecordSet that holds the Barriers used during analysis.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirections

INAStreetDirections[] getDirections()
                                    throws IOException,
                                           AutomationException
Directions for each resulting route.

Remarks

Directions returns an array of INAStreetDirections used to retrieve the directions for each Route.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.networkanalyst.INAStreetDirections array
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.