data class LaneIdentifier: LaneSectionIdentifierInterface, Any

Identifier of a lane containing essential meta information.

Fields

Name Description
val laneId: Int

id of the lane

val laneSectionIdentifier: LaneSectionIdentifier

identifier of the lane section

Constructors

<init>

constructor(laneId: Int, laneSectionIdentifier: LaneSectionIdentifier)

Identifier of a lane containing essential meta information.

Parameters

Name Description
laneId: Int

id of the lane

laneSectionIdentifier: LaneSectionIdentifier

identifier of the lane section

Methods

isLeft

fun isLeft(): Boolean

ReturnValue

Name Description
Boolean

isCenter

fun isCenter(): Boolean

ReturnValue

Name Description
Boolean

isRight

fun isRight(): Boolean

ReturnValue

Name Description
Boolean

getAdjacentLeftLaneIdentifier

fun getAdjacentLeftLaneIdentifier(): LaneIdentifier

Returns the identifier for the adjacent lane to the left.

ReturnValue

Name Description
LaneIdentifier

isWithinSameRoad

fun isWithinSameRoad(other: LaneIdentifier): Boolean

Returns true, if the other lane is located within the same roadspace as the lane with this identifier.

Parameters

Name Description
other: LaneIdentifier

ReturnValue

Name Description
Boolean

toString

fun toString(): String

ReturnValue

Name Description
String

toRoadspaceIdentifier

fun toRoadspaceIdentifier(): RoadspaceIdentifier

ReturnValue

Name Description
RoadspaceIdentifier

Extensions

toAttributes

fun LaneIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
LaneIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList

CompanionObject

LaneIdentifier

data class LaneIdentifier: LaneSectionIdentifierInterface, Any

Identifier of a lane containing essential meta information.

Methods

of

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

Parameters

Name Description
laneId: Int
laneSectionId: Int
roadspaceIdentifier: RoadspaceIdentifier

ReturnValue

Name Description
LaneIdentifier