Class ServiceAreaPolyline
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.networkanalysis.ServiceAreaPolyline
-
public final class ServiceAreaPolyline extends java.lang.ObjectDefines 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 doublegetFromCumulativeCost(java.lang.String attributeName)Gets the cumulative cost value of the path from the facility to the beginning of the polyline.NetworkLocationgetFromNetworkLocation()Gets the network location where the polyline begins.PolylinegetGeometry()Gets the service area polyline's geometry.doublegetToCumulativeCost(java.lang.String attributeName)Gets the cumulative cost value of the path from the facility to the end of the polyline.NetworkLocationgetToNetworkLocation()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(java.lang.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(java.lang.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
-
-