VehicleRestrictionData

abstract class VehicleRestrictionData

Data corresponding to a single vehicle restriction.

Inheritors

Types

Link copied to clipboard
class Height(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Height restriction.

Link copied to clipboard
class Length(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Length restriction.

Link copied to clipboard

Vehicle type restriction.

Link copied to clipboard
class Weight(val value: Weight, val violates: Boolean) : VehicleRestrictionData

Weight restriction.

Link copied to clipboard
class Width(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Width restriction.

Properties

Link copied to clipboard
open val violates: Boolean

Flag to indicate if the current vehicle profile violates the vehicle restriction.