data class RoadLanes: OpendriveElement
Fields
Name | Description |
---|---|
val laneSectionAsNonEmptyList: NonEmptyList
|
|
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
ReturnValue
Name | Description |
---|---|
Option
|
containsLaneOffset
fun containsLaneOffset(): laneOffset.isNotEmpty()
ReturnValue
Name | Description |
---|---|
laneOffset.isNotEmpty()
|
getLaneSectionRanges
fun getLaneSectionRanges(lastLaneSectionEnd: Double): NonEmptyList
Parameters
Name | Description |
---|---|
lastLaneSectionEnd: Double
|
ReturnValue
Name | Description |
---|---|
NonEmptyList
|
getLaneSectionLengths
fun getLaneSectionLengths(lastLaneSectionEnd: Double): NonEmptyList
Parameters
Name | Description |
---|---|
lastLaneSectionEnd: Double
|
ReturnValue
Name | Description |
---|---|
NonEmptyList
|
getLaneSectionsWithRanges
fun getLaneSectionsWithRanges(lastLaneSectionEnd: Double): NonEmptyList
Parameters
Name | Description |
---|---|
lastLaneSectionEnd: Double
|
ReturnValue
Name | Description |
---|---|
NonEmptyList
|