Module com.esri.arcgisruntime
Class ServiceAreaPolyline
java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaPolyline
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 Summary
Modifier and TypeMethodDescriptiondouble
getFromCumulativeCost
(String attributeName) Gets the cumulative cost value of the path from the facility to the beginning of the polyline.Gets the network location where the polyline begins.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.Gets the network location where the polyline ends.
-
Method Details
-
getGeometry
Gets the service area polyline's geometry.- Returns:
- service area polyline's geometry
- Since:
- 100.1.0
-
getFromNetworkLocation
Gets the network location where the polyline begins.- Returns:
- the network location where the polyline begins
- Since:
- 100.1.0
-
getToNetworkLocation
Gets the network location where the polyline ends.- Returns:
- the network location where the polyline ends
- Since:
- 100.1.0
-
getFromCumulativeCost
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
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
-