Class PointBarrier
A point barrier object used to restrict route solving.
Inheritance
System.Object
PointBarrier
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class PointBarrier
Remarks
A class that represents a point location to be avoided (or penalized) by a route. PointBarrier may represent a restricted location to be avoided by a route (e.g., a car accident) or a location at which some additional delay occurs if visited along a route (e.g., a railroad crossing).
Constructors
Name | Description |
---|---|
PointBarrier(MapPoint) | Initializes a new instance of the PointBarrier class. |
Properties
Name | Description |
---|---|
BarrierId | Gets or sets the point barrier ID. |
CurbApproach | Gets or sets the point barrier's CurbApproach . |
Geometry | Gets the point barrier's geometry. |
LocationStatus | Gets location status of the point barrier. |
Name | Gets or sets the name of the barrier. |
Type | Gets or sets the point barrier's type. |
Methods
Name | Description |
---|---|
GetAddedCost(String) | Gets added cost. |
SetAddedCost(String, Double) | Sets added cost. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |