Skip To Content ArcGIS for Developers Sign In Dashboard

ServiceAreaResult Class

class Esri::ArcGISRuntime::ServiceAreaResult

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

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

This class was introduced in Esri::ArcGISRuntime 100.1.

Public Functions

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

Detailed Description

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(Esri::ArcGISRuntime::ServiceAreaResult &&other)

Move constructor from other ServiceAreaResult.

ServiceAreaResult::ServiceAreaResult(const Esri::ArcGISRuntime::ServiceAreaResult &other)

Copy constructor from other ServiceAreaResult.

ServiceAreaResult::ServiceAreaResult()

Default constructor.

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

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

Move operator from other ServiceAreaResult.

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

Assignment operator from other ServiceAreaResult.

ServiceAreaResult::~ServiceAreaResult()

Destructor.

QList<Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::ServiceAreaPolygon> ServiceAreaResult::resultPolygons(int facilityIndex) const

Returns the collection of polygons for specified facilityIndex.

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

Returns the collection of polylines for specified facilityIndex.


Feedback on this topic?