PointBarrier

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.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(point: Point)

Creates a point barrier instance. Creates a point barrier.

Properties

Link copied to clipboard

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

Link copied to clipboard

Point barrier's curb approach. The curb approach.

Link copied to clipboard

The geometry of a point barrier. The point geometry of Point barrier.

Link copied to clipboard

Location status. A location status of the point barrier.

Link copied to clipboard

The name of a point barrier.

Link copied to clipboard

Point barrier's type. The type of point barrier.

Functions

Link copied to clipboard

Clones the PointBarrier.

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

Gets added cost. Get the amount of additional cost that has been added for a particular attribute on this Stop. If no cost has been added, or an incorrect name is specified, a value of zero will be returned.

Link copied to clipboard
fun setAddedCost(attributeName: String, addedCost: Double)

Sets added cost. Set the amount of additional cost for an attribute by name. Any additional cost, e.g. Minutes, TravelTime, Kilometers, can be modified with this method.