A Polygon indicating where the network analysis should not traverse. More...
|Import Statement:||import Esri.ArcGISRuntime 100.11|
- double scaleFactorForCost(string attributeName)
- void setScaleFactorForCost(string attributeName, double scaleFactorForCost)
Barriers are used in network analyses. Barriers can be used to represent locations where the analysis cannot pass through. For example, you can model road closures from a wildfire with a PolygonBarrier to avoid that location. PolygonBarriers can also be scaled costs. An example would be heavy rain where the road can still be traversed, but the time to traverse the road is doubled.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
The ID of this PolygonBarrier.
This property was introduced in Esri.ArcGISRuntime 100.6.
The name of this PolygonBarrier.
This property was introduced in Esri.ArcGISRuntime 100.3.
Returns scale factor for cost of a given attributeName.
See also setScaleFactorForCost().
Sets the scaleFactorForCost for a given attributeName.
See also scaleFactorForCost().