ServiceAreaPolygon Class

  • ServiceAreaPolygon
  • class Esri::ArcGISRuntime::ServiceAreaPolygon

    A single service area polygon. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.1.

    Public Functions

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

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

    Move constructor from other ServiceAreaPolygon.

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

    Copy constructor from other ServiceAreaPolygon.

    ServiceAreaPolygon::ServiceAreaPolygon()

    Default constructor.

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

    Move operator from other ServiceAreaPolygon.

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

    Assignment operator from other ServiceAreaPolygon.

    ServiceAreaPolygon::~ServiceAreaPolygon()

    Destructor.

    double ServiceAreaPolygon::fromImpedanceCutoff() const

    Returns the service area polygon's minimum impedance value.

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

    Returns the Polygon geometry of this ServiceAreaPolygon.

    bool ServiceAreaPolygon::isEmpty() const

    Returns true if this ServiceAreaPolygon is empty.

    double ServiceAreaPolygon::toImpedanceCutoff() const

    Returns the service area polygon's maximum impedance value.

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