Class ServiceAreaResult
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaResult
-
public final class ServiceAreaResult extends java.lang.ObjectRepresents the result ofServiceAreaTask.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ServiceAreaFacility>getFacilities()Gets a list of the facilities used to calculate the service area.java.util.List<java.lang.String>getMessages()Gets the informational messages that were generated while computing service area outputs.java.util.List<PointBarrier>getPointBarriers()Gets the point barriers used to calculate the service area.java.util.List<PolygonBarrier>getPolygonBarriers()Gets the polygon barriers used to calculate the service area.java.util.List<PolylineBarrier>getPolylineBarriers()Gets the polyline barriers used to calculate the service area.java.util.List<ServiceAreaPolygon>getResultPolygons(int facilityIndex)Gets the result service area polygons.java.util.List<ServiceAreaPolyline>getResultPolylines(int facilityIndex)Gets the result service area polylines.
-
-
-
Method Detail
-
getFacilities
public java.util.List<ServiceAreaFacility> 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:
ServiceAreaParameters.setFacilities(Iterable),ServiceAreaParameters.setFacilities(ArcGISFeatureTable, QueryParameters)
-
getPointBarriers
public java.util.List<PointBarrier> 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:
ServiceAreaParameters.setPointBarriers(Iterable),ServiceAreaParameters.setPointBarriers(ArcGISFeatureTable, QueryParameters)
-
getPolylineBarriers
public java.util.List<PolylineBarrier> 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:
ServiceAreaParameters.setPolylineBarriers(Iterable),ServiceAreaParameters.setPolylineBarriers(ArcGISFeatureTable, QueryParameters)
-
getPolygonBarriers
public java.util.List<PolygonBarrier> 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:
ServiceAreaParameters.setPolygonBarriers(Iterable),ServiceAreaParameters.setPolygonBarriers(ArcGISFeatureTable, QueryParameters)
-
getMessages
public java.util.List<java.lang.String> 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
public java.util.List<ServiceAreaPolyline> getResultPolylines(int facilityIndex)
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
public java.util.List<ServiceAreaPolygon> getResultPolygons(int facilityIndex)
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
-
-