data class RelativeLaneIdentifier: LaneSectionIdentifierInterface, Any

Relative identifier of lanes, whereby the laneSectionIdentifier is of RelativeLaneSectionIdentifier.

Fields

Name Description
val laneId: Int
val laneSectionIdentifier: RelativeLaneSectionIdentifier

Constructors

<init>

constructor(laneId: Int, laneSectionIdentifier: RelativeLaneSectionIdentifier)

Relative identifier of lanes, whereby the laneSectionIdentifier is of RelativeLaneSectionIdentifier.

Parameters

Name Description
laneId: Int
laneSectionIdentifier: RelativeLaneSectionIdentifier

Methods

toAbsoluteLaneIdentifier

fun toAbsoluteLaneIdentifier(size: Int): LaneIdentifier

Returns an absolute LaneIdentifier

Parameters

Name Description
size: Int

number of lane sections in list (last index + 1)

ReturnValue

Name Description
LaneIdentifier

toRoadspaceIdentifier

fun toRoadspaceIdentifier(): RoadspaceIdentifier

ReturnValue

Name Description
RoadspaceIdentifier

CompanionObject

RelativeLaneIdentifier

data class RelativeLaneIdentifier: LaneSectionIdentifierInterface, Any

Relative identifier of lanes, whereby the laneSectionIdentifier is of RelativeLaneSectionIdentifier.

Methods

of

fun of(laneId: Int, laneSectionId: Int, roadspaceIdentifier: RoadspaceIdentifier): RelativeLaneIdentifier

Parameters

Name Description
laneId: Int
laneSectionId: Int
roadspaceIdentifier: RoadspaceIdentifier

ReturnValue

Name Description
RelativeLaneIdentifier