Lane

data class Lane(val id: LaneIdentifier, val width: UnivariateFunction, val innerHeightOffset: UnivariateFunction, val outerHeightOffset: UnivariateFunction, val level: Boolean, val roadMarkings: List<RoadMarking>, val predecessors: List<Int>, val successors: List<Int>, val type: LaneType, val laneMaterial: Option<LaneMaterial>, val attributes: AttributeList)

Represents a lane within a lane section.

Parameters

id

identifier of the lane

width

width of the lane as parametric function

innerHeightOffset

extra vertical offset height on the inner lane boundary

outerHeightOffset

extra vertical offset height on the outer lane boundary

level

if true, the lane is kept on level; if false, superelevation is applied to the lane

roadMarkings

list of road markings, which are placed on the outer lane boundary

predecessors

list of predecessor lane ids

successors

list of successor lane ids

attributes

information attributes to the lane

Constructors

Link copied to clipboard
constructor(id: LaneIdentifier, width: UnivariateFunction, innerHeightOffset: UnivariateFunction, outerHeightOffset: UnivariateFunction, level: Boolean, roadMarkings: List<RoadMarking>, predecessors: List<Int>, successors: List<Int>, type: LaneType, laneMaterial: Option<LaneMaterial>, attributes: AttributeList)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun getLaneChange(): Option<LaneChange>