Class PointBarrier
A point barrier object used to restrict route solving.
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)
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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |