Module com.esri.arcgisruntime
Class ServiceAreaResult
java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaResult
Represents the result of
ServiceAreaTask.solveServiceAreaAsync(ServiceAreaParameters)
.
The result is a collection of computed service area polylines, polygons, barriers used in the computation, and messages generated during the process.
- Since:
- 100.1.0
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of the facilities used to calculate the service area.Gets the informational messages that were generated while computing service area outputs.Gets the point barriers used to calculate the service area.Gets the polygon barriers used to calculate the service area.Gets the polyline barriers used to calculate the service area.getResultPolygons
(int facilityIndex) Gets the result service area polygons.getResultPolylines
(int facilityIndex) Gets the result service area polylines.
-
Method Details
-
getFacilities
Gets a list of the facilities used to calculate the service area.- Returns:
- an unmodifiable list of the facilities
- Since:
- 100.1.0
- See Also:
-
getPointBarriers
Gets the point barriers used to calculate the service area. Only available ifServiceAreaParameters.setReturnPointBarriers(boolean)
is set.- Returns:
- an unmodifiable list of the point barriers
- Since:
- 100.1.0
- See Also:
-
getPolylineBarriers
Gets the polyline barriers used to calculate the service area. Only available ifServiceAreaParameters.setReturnPolylineBarriers(boolean)
is set.- Returns:
- an unmodifiable list of the polyline barriers
- Since:
- 100.1.0
- See Also:
-
getPolygonBarriers
Gets the polygon barriers used to calculate the service area. Only available ifServiceAreaParameters.setReturnPolygonBarriers(boolean)
is set.- Returns:
- an unmodifiable list of the polygon barriers
- Since:
- 100.1.0
- See Also:
-
getMessages
Gets the informational messages that were generated while computing service area outputs.- Returns:
- an unmodifiable list of the messages
- Since:
- 100.1.0
-
getResultPolylines
Gets the result service area polylines. Only available ifServiceAreaParameters.setReturnPolylines(boolean)
is set.- Parameters:
facilityIndex
- the facility's index- Returns:
- an unmodifiable list of the service area polylines
- Since:
- 100.1.0
-
getResultPolygons
Gets the result service area polygons. Only available ifServiceAreaParameters.setReturnPolygons(boolean)
is set.- Parameters:
facilityIndex
- the facility's index- Returns:
- an unmodifiable list of the service area polygons
-