LaneType constructor

LaneType(
  1. bool isRegular,
  2. bool isHighOccupancyVehicle,
  3. bool isReversible,
  4. bool isExpress,
  5. bool isAcceleration,
  6. bool isDeceleration,
  7. bool isAuxiliary,
  8. bool isSlow,
  9. bool isPassing,
  10. bool isShoulder,
  11. bool isRegulatedAccess,
  12. bool isTurn,
  13. bool isCenterTurn,
  14. bool isTruckParking,
  15. bool isParking,
  16. bool isVariableDriving,
  17. bool isBicycle,
)

Creates a new instance.

  • isRegular Regular lane is a lane that does not have a specific use.
  • isHighOccupancyVehicle A lane which is restricted for high occupancy vehicles. Note: High occupancy vehicles are vehicles with a driver and one or more passengers.
  • isReversible A 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.
  • isExpress Express 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.
  • isAcceleration An 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.
  • isDeceleration A deceleration lane is the same as an acceleration lane but used for the opposite scenario.
  • isAuxiliary An 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.
  • isSlow A 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.
  • isPassing A 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.
  • isShoulder A 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.
  • isRegulatedAccess A 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).
  • isTurn Turn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.
  • isCenterTurn Center 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).
  • isTruckParking Truck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.
  • isParking Parking 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.
  • isVariableDriving Variable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.
  • isBicycle Bicycle 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);