LaneType constructor
- bool isRegular,
- bool isHighOccupancyVehicle,
- bool isReversible,
- bool isExpress,
- bool isAcceleration,
- bool isDeceleration,
- bool isAuxiliary,
- bool isSlow,
- bool isPassing,
- bool isShoulder,
- bool isRegulatedAccess,
- bool isTurn,
- bool isCenterTurn,
- bool isTruckParking,
- bool isParking,
- bool isVariableDriving,
- bool isBicycle,
Creates a new instance.
isRegularRegular lane is a lane that does not have a specific use.isHighOccupancyVehicleA lane which is restricted for high occupancy vehicles. Note: High occupancy vehicles are vehicles with a driver and one or more passengers.isReversibleA lane in which traffic may travel in either direction, depending on certain conditions such as the time of the day to improve traffic flow during rush hours.isExpressExpress lane is a lane or set of lanes usually physically separated from the major roadway with limited entry and exit points to quickly move traffic in and out of a major metropolitan city. An express lane can be reversible, bidirectional, or one-way.isAccelerationAn acceleration lane is a lane, typically on the right side of a roadway, that lets a vehicle increase its speed to where it can safely merge with ongoing traffic. These lanes can be accessed from ramps, rest areas, or weigh stations.isDecelerationA deceleration lane is the same as an acceleration lane but used for the opposite scenario.isAuxiliaryAn auxiliary lane is a lane that runs parallel to a motorway and connects the entrance ramp/acceleration lane from one interchange exit ramp/deceleration lane of the next interchange.isSlowA slow lane, also known as truck (US) or crawler lane (UK), is a lane on long and/or steep uphill/downhill stretches of high-speed roads that is designated to facilitate slow traffic.isPassingA passing lane is a lane that can occur on steep mountain grades or other roads where overtaking needs to be regulated for safety (i.e., curvy roads). They are used to safely pass slow moving vehicles.isShoulderA shoulder lane is a reserved paved area on the side of the road (one or both sides) that is not generally used for driving, although it is possible under certain circumstances.isRegulatedAccessA regulated lane access is a lane designated as a holding zone, used to regulate traffic using time intervals. Regulated lane access is only coded for truck holding zones that are used to regulate truck access into tunnels and over bridges using time intervals (e.g., some tunnel accesses in Switzerland).isTurnTurn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.isCenterTurnCenter turn lane is a bidirectional turn lane located in the middle of a road that allows traffic in both directions to turn left (right for left side driving countries).isTruckParkingTruck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.isParkingParking lanes are portions of the road bed that may be used for parking legally. They may allow vehicles to use them as driving lanes at times, though.isVariableDrivingVariable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.isBicycleBicycle lanes are lanes added to the road bed that only allow bicycle travel as indicated by lane markings, signs, buffers or barriers.
Implementation
LaneType(this.isRegular, this.isHighOccupancyVehicle, this.isReversible, this.isExpress, this.isAcceleration, this.isDeceleration, this.isAuxiliary, this.isSlow, this.isPassing, this.isShoulder, this.isRegulatedAccess, this.isTurn, this.isCenterTurn, this.isTruckParking, this.isParking, this.isVariableDriving, this.isBicycle);