Show / Hide Table of Contents

Class PointBarrier

A point barrier object used to restrict route solving.

Inheritance
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)
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

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.