data class RoadLanesLaneSectionRight: OpendriveElement

Fields

Name Description
var lane: List<RoadLanesLaneSectionRightLane>

Constructors

<init>

constructor(lane: List<RoadLanesLaneSectionRightLane>)

Parameters

Name Description
lane: List<RoadLanesLaneSectionRightLane>

Methods

isEmpty

fun isEmpty(): Boolean

ReturnValue

Name Description
Boolean

isNotEmpty

fun isNotEmpty(): lane.isNotEmpty()

ReturnValue

Name Description
lane.isNotEmpty()

getNumberOfLanes

fun getNumberOfLanes(): Int

ReturnValue

Name Description
Int

getLanes

fun getLanes(): lane.associateBy { it.id }

ReturnValue

Name Description
lane.associateBy { it.id }

getLanesDescending

fun getLanesDescending(): lane.sortedByDescending { it.id }

ReturnValue

Name Description
lane.sortedByDescending { it.id }