class LaneBuilder: Any

Builder for Lane objects of the RoadSpaces data model.

Constructors

<init>

constructor(parameters: Opendrive2RoadspacesParameters)

Builder for Lane objects of the RoadSpaces data model.

Parameters

Name Description
parameters: Opendrive2RoadspacesParameters

Methods

buildLane

fun buildLane(id: LaneIdentifier, curvePositionDomain: Range<Double>, lrLane: RoadLanesLaneSectionLRLane, baseAttributes: AttributeList): ContextMessageList<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

lrLane: RoadLanesLaneSectionLRLane
baseAttributes: AttributeList

attributes attached to the transformed Lane object

ReturnValue

Name Description
ContextMessageList<Lane>

buildCenterLane

fun buildCenterLane(id: LaneSectionIdentifier, curvePositionDomain: Range<Double>, centerLane: RoadLanesLaneSectionCenterLane, baseAttributes: AttributeList): ContextMessageList<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

centerLane: RoadLanesLaneSectionCenterLane

center lane object of the OpenDRIVE data model

baseAttributes: AttributeList

attributes attached to the transformed Lane object

ReturnValue

Name Description
ContextMessageList<CenterLane>