Skip To Content ArcGIS for Developers Sign In Dashboard

ServiceAreaResult Class

(Esri::ArcGISRuntime::ServiceAreaResult)

The results generated by a ServiceAreaTask after solving. More...

Header: #include <ServiceAreaResult>
Since: Esri::ArcGISRuntime 100.1

Public Functions

ServiceAreaResult()
ServiceAreaResult(const ServiceAreaResult &other)
ServiceAreaResult(ServiceAreaResult &&other)
~ServiceAreaResult()
QList<ServiceAreaFacility> facilities() const
bool isEmpty() const
QStringList messages() const
QList<PointBarrier> pointBarriers() const
QList<PolygonBarrier> polygonBarriers() const
QList<PolylineBarrier> polylineBarriers() const
QList<ServiceAreaPolygon> resultPolygons(int facilityIndex) const
QList<ServiceAreaPolyline> resultPolylines(int facilityIndex) const
ServiceAreaResult &operator=(const ServiceAreaResult &other)
ServiceAreaResult &operator=(ServiceAreaResult &&other)

Detailed Description

The results generated by a ServiceAreaTask after solving.

A ServiceAreaResult object represents the results of the operation. The results contain the polygons or polylines representing the service areas. Also included are lists of facilities and barriers used while solving.

Member Function Documentation

ServiceAreaResult::ServiceAreaResult()

Default constructor.

Warning: This is for convenience only and will construct an empty object.

ServiceAreaResult::ServiceAreaResult(const ServiceAreaResult &other)

Copy constructor from other ServiceAreaResult.

ServiceAreaResult::ServiceAreaResult(ServiceAreaResult &&other)

Move constructor from other ServiceAreaResult.

ServiceAreaResult::~ServiceAreaResult()

Destructor.

QList<ServiceAreaFacility> ServiceAreaResult::facilities() const

Returns the list of the facilities that were used in the ServiceAreaTask.

bool ServiceAreaResult::isEmpty() const

Returns whether this ServiceAreaResult is empty.

QStringList ServiceAreaResult::messages() const

Returns the list of messages about the ServiceAreaResult.

QList<PointBarrier> ServiceAreaResult::pointBarriers() const

Returns the list of the point barriers that were used in the ServiceAreaTask.

Only applicable if ServiceAreaParameters::isReturnPointBarriers used in the ServiceAreaTask is true.

QList<PolygonBarrier> ServiceAreaResult::polygonBarriers() const

Returns the list of the polygon barriers that were used in the ServiceAreaTask.

Only applicable if ServiceAreaParameters::isReturnPolygonBarriers used in the ServiceAreaTask is true.

QList<PolylineBarrier> ServiceAreaResult::polylineBarriers() const

Returns the list of the polyline barriers that were used in the ServiceAreaTask.

Only applicable if ServiceAreaParameters::isReturnPolylineBarriers used in the ServiceAreaTask is true.

QList<ServiceAreaPolygon> ServiceAreaResult::resultPolygons(int facilityIndex) const

Returns the collection of polygons for specified facilityIndex.

QList<ServiceAreaPolyline> ServiceAreaResult::resultPolylines(int facilityIndex) const

Returns the collection of polylines for specified facilityIndex.

ServiceAreaResult &ServiceAreaResult::operator=(const ServiceAreaResult &other)

Assignment operator from other ServiceAreaResult.

ServiceAreaResult &ServiceAreaResult::operator=(ServiceAreaResult &&other)

Move operator from other ServiceAreaResult.


Feedback on this topic?