PolylineBarrier

A polyline barrier is used to restrict route solving. A class that represents a linear feature to be avoided (or penalized) by a route. A polyline barrier may represent a linear feature (e.g., a subpath in the network) to be avoided (i.e., not crossed or followed) by a route or to penalize/delay a route along any portions of the feature traversed by the route (e.g., a stretch of interstate with temporarily reduced speed limits due to local construction along an adjacent lane).

The polyline barrier class is derived from the graphic class.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(polyline: Polyline)

Creates a polyline barrier instance. Creates a polyline barrier.

Properties

Link copied to clipboard

Polyline barrier ID. This is a caller supplied foreign key that can be used to associate output polyline barriers with input polyline barriers.

Link copied to clipboard

The geometry of a polyline barrier. The polyline geometry of a Polyline barrier.

Link copied to clipboard

The name of a polyline barrier.

Link copied to clipboard

Polyline barrier's type. A type of polyline barrier.

Functions

Link copied to clipboard
Link copied to clipboard
fun getScaleFactorForCost(attributeName: String): Double

Gets scale factor for cost. Returns scale factor for cost.

Link copied to clipboard
fun setScaleFactorForCost(attributeName: String, scaleFactor: Double)

Sets scale factor for cost.