Class ServiceAreaPolyline

java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaPolyline

public final class ServiceAreaPolyline extends Object
Defines a service area polyline calculated with a ServiceAreaTask.

Represents the network edges that can be reached within the given impedance.

Since:
100.1.0
  • Method Details Link icon

    • getGeometry Link icon

      public Polyline getGeometry()
      Gets the service area polyline's geometry.
      Returns:
      service area polyline's geometry
      Since:
      100.1.0
    • getFromNetworkLocation Link icon

      public NetworkLocation getFromNetworkLocation()
      Gets the network location where the polyline begins.
      Returns:
      the network location where the polyline begins
      Since:
      100.1.0
    • getToNetworkLocation Link icon

      public NetworkLocation getToNetworkLocation()
      Gets the network location where the polyline ends.
      Returns:
      the network location where the polyline ends
      Since:
      100.1.0
    • getFromCumulativeCost Link icon

      public double getFromCumulativeCost(String attributeName)
      Gets the cumulative cost value of the path from the facility to the beginning of the polyline.

      List of the supported attributes can be obtained from ServiceAreaTaskInfo.getCostAttributes().

      Parameters:
      attributeName - the name of an attribute
      Returns:
      a value of the cumulative cost
      Since:
      100.1.0
    • getToCumulativeCost Link icon

      public double getToCumulativeCost(String attributeName)
      Gets the cumulative cost value of the path from the facility to the end of the polyline.

      List of the supported attributes can be obtained from ServiceAreaTaskInfo.getCostAttributes().

      Parameters:
      attributeName - the name of an attribute
      Returns:
      a value of the cumulative cost
      Since:
      100.1.0