ServiceAreaPolyline Class

  • ServiceAreaPolyline
  • class Esri::ArcGISRuntime::ServiceAreaPolyline

    A single service area polyline. More...

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

    Public Functions

    ServiceAreaPolyline()
    ServiceAreaPolyline(const Esri::ArcGISRuntime::ServiceAreaPolyline &other)
    ServiceAreaPolyline(Esri::ArcGISRuntime::ServiceAreaPolyline &&other)
    ~ServiceAreaPolyline()
    double fromCumulativeCost(const QString &attributeName) const
    Esri::ArcGISRuntime::NetworkLocation fromNetworkLocation() const
    Esri::ArcGISRuntime::Polyline geometry() const
    bool isEmpty() const
    double toCumulativeCost(const QString &attributeName) const
    Esri::ArcGISRuntime::NetworkLocation toNetworkLocation() const
    Esri::ArcGISRuntime::ServiceAreaPolyline &operator=(const Esri::ArcGISRuntime::ServiceAreaPolyline &other)
    Esri::ArcGISRuntime::ServiceAreaPolyline &operator=(Esri::ArcGISRuntime::ServiceAreaPolyline &&other)

    Detailed Description

    A service area polyline is one part of the result of a service area calculation. It covers the edges of the network that can be reached within a specified time, distance, or other travel impedance (cost). Network edges used in service area calculations are commonly used to represent streets.

    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 minute intervals. In this example, the ServiceAreaResult contains three ServiceAreaPolylines, each one covering network edges representing the service area reachable within each interval.

    Each ServiceAreaPolyline has properties (fromCumulativeCost and toCumulativeCost) for the impedance attribute and every accumulation attribute. You can identify which interval this ServiceAreaPolyline represents by requesting these properties for the impedance attribute.

    ServiceAreaPolylines are a more precise representation of a service area than ServiceAreaPolygons since service area analyses are based on measurements along the network edges.

    Member Function Documentation

    ServiceAreaPolyline::ServiceAreaPolyline()

    Default constructor.

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

    Copy constructor from other ServiceAreaPolyline.

    ServiceAreaPolyline::ServiceAreaPolyline(Esri::ArcGISRuntime::ServiceAreaPolyline &&other)

    Move constructor from other ServiceAreaPolyline.

    ServiceAreaPolyline::~ServiceAreaPolyline()

    Destructor.

    double ServiceAreaPolyline::fromCumulativeCost(const QString &attributeName) const

    Returns "from" cumulative cost value for specified attributeName.

    Esri::ArcGISRuntime::NetworkLocation ServiceAreaPolyline::fromNetworkLocation() const

    Returns "from" network location on the network.

    Esri::ArcGISRuntime::Polyline ServiceAreaPolyline::geometry() const

    Returns the Polyline geometry of this ServiceAreaPolyline.

    bool ServiceAreaPolyline::isEmpty() const

    Returns whether this ServiceAreaPolyline is empty.

    double ServiceAreaPolyline::toCumulativeCost(const QString &attributeName) const

    Returns "to" cumulative cost value for specified attributeName.

    Esri::ArcGISRuntime::NetworkLocation ServiceAreaPolyline::toNetworkLocation() const

    Returns "to" network location on the network.

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

    Assignment operator from other ServiceAreaPolyline.

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

    Move operator from other ServiceAreaPolyline.

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