PointBarrier class final

A point barrier object is used to restrict route solving.

A class that represents a point location to be avoided (or penalized) by a route. A point barrier 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).

The point barrier class is derived from the graphic class.

Implemented types

Constructors

PointBarrier(ArcGISPoint point)
Creates a point barrier instance.
factory

Properties

barrierId int
Point barrier ID.
getter/setter pair
curbApproach CurbApproach
Point barrier's curb approach.
getter/setter pair
geometry ArcGISPoint?
The geometry of a point barrier.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
locationStatus LocationStatus
Location status.
no setter
name String
The name of a point barrier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BarrierType
Point barrier's type.
getter/setter pair

Methods

clone() PointBarrier
Clones the PointBarrier.
getAddedCost({required String attributeName}) double
Gets added cost.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAddedCost({required String attributeName, required double addedCost}) → void
Sets added cost.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited