data class Junction: Any

Represents a junction which connects multiple roads and contains lane linkage information.

Fields

Name Description
val id: JunctionIdentifier

identifier of the Junction

val connections: List<Connection>

list of Connection that connect the roads and the respective lanes

Constructors

<init>

constructor(id: JunctionIdentifier, connections: List<Connection>)

Represents a junction which connects multiple roads and contains lane linkage information.

Parameters

Name Description
id: JunctionIdentifier

identifier of the Junction

connections: List<Connection>

list of Connection that connect the roads and the respective lanes

Methods

getSuccessorLane

fun getSuccessorLane(laneIdentifier: LaneIdentifier): List<RelativeLaneIdentifier>

Returns the successor lane referenced by RelativeLaneIdentifier, which follow the laneIdentifier.

Parameters

Name Description
laneIdentifier: LaneIdentifier

identifier for which the successor

ReturnValue

Name Description
List<RelativeLaneIdentifier>