ServiceAreaPolygon Class

  • ServiceAreaPolygon
  • class Esri::ArcGISRuntime::ServiceAreaPolygon

    A single service area polygon. More...

    Header: #include <ServiceAreaPolygon.h>
    Since: Esri::ArcGISRuntime 100.1

    Public Functions

    ServiceAreaPolygon()
    ServiceAreaPolygon(const Esri::ArcGISRuntime::ServiceAreaPolygon &other)
    ServiceAreaPolygon(Esri::ArcGISRuntime::ServiceAreaPolygon &&other)
    ~ServiceAreaPolygon()
    double fromImpedanceCutoff() const
    Esri::ArcGISRuntime::Polygon geometry() const
    bool isEmpty() const
    double toImpedanceCutoff() const
    Esri::ArcGISRuntime::ServiceAreaPolygon &operator=(const Esri::ArcGISRuntime::ServiceAreaPolygon &other)
    Esri::ArcGISRuntime::ServiceAreaPolygon &operator=(Esri::ArcGISRuntime::ServiceAreaPolygon &&other)

    Detailed Description

    A service area polygon is one part of the result of a service area calculation. It covers the area of the network that can be reached within a specified time, distance, or other travel impedance (cost).

    For example, when calculating service areas with time as the impedance, an impedance value of "5 10 15" creates service areas of 0-5, 5-10, and 10-15 minutes intervals. In this example, the ServiceAreaResult contains three ServiceAreaPolygons, each one covering an area representing the service area reachable within each interval. Each ServiceAreaPolygon has properties (fromImpedanceCutoff and toImpedanceCutoff) that identify which interval the ServiceAreaPolygon represents.

    Member Function Documentation

    ServiceAreaPolygon::ServiceAreaPolygon()

    Default constructor.

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

    Copy constructor from other ServiceAreaPolygon.

    ServiceAreaPolygon::ServiceAreaPolygon(Esri::ArcGISRuntime::ServiceAreaPolygon &&other)

    Move constructor from other ServiceAreaPolygon.

    ServiceAreaPolygon::~ServiceAreaPolygon()

    Destructor.

    double ServiceAreaPolygon::fromImpedanceCutoff() const

    Returns the from impedance cutoff.

    A service area polygon's minimal impedance value. For example, a time impedance value of "5 10 15" specifies service areas of 5, 10, and 15 minutes intervals. You can get polygon which covers area from 5 to 10 minutes interval.

    Esri::ArcGISRuntime::Polygon ServiceAreaPolygon::geometry() const

    Returns the service area polygon's geometry.

    The geometry for the polygon in case if ServiceAreaParameters::isReturnPolygons is true.

    bool ServiceAreaPolygon::isEmpty() const

    Returns true if this ServiceAreaPolygon is empty.

    double ServiceAreaPolygon::toImpedanceCutoff() const

    Returns the to impedance cutoff.

    A service area polygon's maximal impedance value. For example, a time impedance value of "5 10 15" specifies service areas of 5, 10, and 15 minutes intervals. You can get polygon which covers area from 5 to 10 minutes interval.

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

    Assignment operator from other ServiceAreaPolygon.

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

    Move operator from other ServiceAreaPolygon.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.