Connection

data class Connection(val id: ConnectionIdentifier, val incomingRoadspaceContactPointId: RoadspaceContactPointIdentifier, val connectingRoadspaceContactPointId: RoadspaceContactPointIdentifier, val laneLinks: Map<LaneIdentifier, LaneIdentifier>)

Represents the connection of two roads, the incoming road and the connecting road.

Parameters

id

identifier of the connection

incomingRoadspaceContactPointId

identifier of the contact point of the roadspace which reaches the junction

connectingRoadspaceContactPointId

identifier of the contact point of the roadspace which belongs to the junction

laneLinks

links between the individual lanes

Constructors

Link copied to clipboard
constructor(id: ConnectionIdentifier, incomingRoadspaceContactPointId: RoadspaceContactPointIdentifier, connectingRoadspaceContactPointId: RoadspaceContactPointIdentifier, laneLinks: Map<LaneIdentifier, LaneIdentifier>)

Functions

Link copied to clipboard
fun getSuccessorLane(laneIdentifier: LaneIdentifier): Option<LaneIdentifier>

Returns the lane information of the succeeding lane with laneIdentifier, if a link exists.