data class LaneIdentifier: LaneSectionIdentifierInterface, Any

Identifier of a lane containing essential meta information.

Fields

Name Description
val hashKey: String
val hashedId: String
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

getAdjacentInnerLaneIdentifier

fun getAdjacentInnerLaneIdentifier(): LaneIdentifier

Returns the LaneIdentifier of the lane which is located adjacently inner (towards the reference line) to the lane of this identifier.

ReturnValue

Name Description
LaneIdentifier

getAdjacentOuterLaneIdentifier

fun getAdjacentOuterLaneIdentifier(): LaneIdentifier

Returns the LaneIdentifier of the lane which is located adjacently outer (in the opposite direction of the reference line) to the lane of this identifier.

ReturnValue

Name Description
LaneIdentifier

getAdjacentLeftLaneIdentifier

fun getAdjacentLeftLaneIdentifier(): LaneIdentifier

Returns the identifier for the adjacent lane to the left.

ReturnValue

Name Description
LaneIdentifier

getAdjacentRightLaneIdentifier

fun getAdjacentRightLaneIdentifier(): LaneIdentifier

Returns the identifier for the adjacent lane to the right.

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

isLaterallyAdjacent

fun isLaterallyAdjacent(other: LaneIdentifier): Boolean

Returns true, if the other lane is located laterally adjacent (same lane section) to this lane.

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