data class RoadLanes: OpendriveElement

Fields

Name Description
val laneSectionAsNonEmptyList: NonEmptyList<RoadLanesLaneSection>
var laneOffset: List<RoadLanesLaneOffset>
var laneSection: List<RoadLanesLaneSection>

Constructors

<init>

constructor(laneOffset: List<RoadLanesLaneOffset>, laneSection: List<RoadLanesLaneSection>)

Parameters

Name Description
laneOffset: List<RoadLanesLaneOffset>
laneSection: List<RoadLanesLaneSection>

Methods

getLaneOffsetEntries

fun getLaneOffsetEntries(): Option><NonEmptyList<RoadLanesLaneOffset>>

ReturnValue

Name Description
Option><NonEmptyList<RoadLanesLaneOffset>>

containsLaneOffset

fun containsLaneOffset(): laneOffset.isNotEmpty()

ReturnValue

Name Description
laneOffset.isNotEmpty()

getLaneSectionRanges

fun getLaneSectionRanges(lastLaneSectionEnd: Double): NonEmptyList><Range<Double>>

Parameters

Name Description
lastLaneSectionEnd: Double

ReturnValue

Name Description
NonEmptyList><Range<Double>>

getLaneSectionLengths

fun getLaneSectionLengths(lastLaneSectionEnd: Double): NonEmptyList<Double>

Parameters

Name Description
lastLaneSectionEnd: Double

ReturnValue

Name Description
NonEmptyList<Double>

getLaneSectionsWithRanges

fun getLaneSectionsWithRanges(lastLaneSectionEnd: Double): NonEmptyList, RoadLanesLaneSection>><Pair, RoadLanesLaneSection><Range<Double>, RoadLanesLaneSection>>

Parameters

Name Description
lastLaneSectionEnd: Double

ReturnValue

Name Description
NonEmptyList, RoadLanesLaneSection>><Pair, RoadLanesLaneSection><Range<Double>, RoadLanesLaneSection>>