Class ServiceAreaPolyline
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaPolyline
-
public final class ServiceAreaPolyline extends Object
Defines a service area polyline calculated with aServiceAreaTask
.Represents the network edges that can be reached within the given impedance.
- Since:
- 100.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getFromCumulativeCost(String attributeName)
Gets the cumulative cost value of the path from the facility to the beginning of the polyline.NetworkLocation
getFromNetworkLocation()
Gets the network location where the polyline begins.Polyline
getGeometry()
Gets the service area polyline's geometry.double
getToCumulativeCost(String attributeName)
Gets the cumulative cost value of the path from the facility to the end of the polyline.NetworkLocation
getToNetworkLocation()
Gets the network location where the polyline ends.
-
-
-
Method Detail
-
getGeometry
public Polyline getGeometry()
Gets the service area polyline's geometry.- Returns:
- service area polyline's geometry
- Since:
- 100.1.0
-
getFromNetworkLocation
public NetworkLocation getFromNetworkLocation()
Gets the network location where the polyline begins.- Returns:
- the network location where the polyline begins
- Since:
- 100.1.0
-
getToNetworkLocation
public NetworkLocation getToNetworkLocation()
Gets the network location where the polyline ends.- Returns:
- the network location where the polyline ends
- Since:
- 100.1.0
-
getFromCumulativeCost
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
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
-
-