class LaneBuilder: Any

Builder for Lane objects of the RoadSpaces data model.

Constructors

<init>

constructor(configuration: Opendrive2RoadspacesConfiguration)

Builder for Lane objects of the RoadSpaces data model.

Parameters

Name Description
configuration: Opendrive2RoadspacesConfiguration

Methods

buildLane

fun buildLane(id: LaneIdentifier, curvePositionDomain: Range<Double>, srcLane: RoadLanesLaneSectionLRLane, baseAttributes: AttributeList): Lane

Builds a single lane (which is either left or right to the center) with the id.

Parameters

Name Description
id: LaneIdentifier

identifier of the lane

curvePositionDomain: Range<Double>

curve position domain (relative to the lane section) where the lane is defined

srcLane: RoadLanesLaneSectionLRLane

lane object of the OpenDRIVE data model

baseAttributes: AttributeList

attributes attached to the transformed Lane object

ReturnValue

Name Description
Lane

buildCenterLane

fun buildCenterLane(id: LaneSectionIdentifier, curvePositionDomain: Range<Double>, srcLanes: List<RoadLanesLaneSectionCenterLane>, baseAttributes: AttributeList): CenterLane

Builds a center lane of a lane section.

Parameters

Name Description
id: LaneSectionIdentifier

identifier of the center lane

curvePositionDomain: Range<Double>

curve position domain (relative to the lane section) where the lane is defined

srcLanes: List<RoadLanesLaneSectionCenterLane>

center lane object of the OpenDRIVE data model

baseAttributes: AttributeList

attributes attached to the transformed Lane object

ReturnValue

Name Description
CenterLane