com.esri.arcgis.networkanalyst
Interface INAServerClosestFacilityResults

All Superinterfaces:
INAServerSolverResults, Serializable
All Known Subinterfaces:
INAServerClosestFacilityResults2, INAServerClosestFacilityResults3
All Known Implementing Classes:
NAServerClosestFacilityResults

public interface INAServerClosestFacilityResults
extends INAServerSolverResults, Serializable

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

Superseded By

INAServerClosestFacilityResults2

Remarks

INAServerClosestFacilityResults has been superseded by INAServerClosestFacilityResults3.

Product Availability

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


Method Summary
 IRecordSet getBarriers()
          RecordSet of Barriers returned from the network analysis.
 IPolyline[] getCFRouteGeometries()
          Polyline geometry for each resulting route.
 IRecordSet getCFRoutes()
          RecordSet of CFRoutes returned from the network analysis.
 INAStreetDirections[] getDirections()
          Directions for each resulting route.
 IRecordSet getFacilities()
          RecordSet of Facilities returned from the network analysis.
 IRecordSet getIncidents()
          RecordSet of Incidents returned from the network analysis.
 double[] getTotalImpedances()
          Total accumulated cost on the impedance attribute for each 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 route.

Remarks

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

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.

getCFRouteGeometries

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

Remarks

CFRouteGeometries returns an array of Polyline geometries representing the route taken for each CFRoute.

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.

getCFRoutes

IRecordSet getCFRoutes()
                       throws IOException,
                              AutomationException
RecordSet of CFRoutes returned from the network analysis.

Remarks

CFRoutes returns an IRecordSet that holds the CFRoutes 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.

getFacilities

IRecordSet getFacilities()
                         throws IOException,
                                AutomationException
RecordSet of Facilities returned from the network analysis.

Remarks

Facilities returns an IRecordSet that holds the facilities 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.

getIncidents

IRecordSet getIncidents()
                        throws IOException,
                               AutomationException
RecordSet of Incidents returned from the network analysis.

Remarks

Incidents returns an IRecordSet that holds the incidents 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 CFRoute.

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.