data class RoadLinkage: Any

Contains the topological information about the road.

Fields

Name Description
val belongsToJunctionId: Option<JunctionIdentifier>
val predecessorRoadspaceContactPointId: Option<RoadspaceContactPointIdentifier>
val predecessorJunctionId: Option<JunctionIdentifier>
val successorRoadspaceContactPointId: Option<RoadspaceContactPointIdentifier>
val successorJunctionId: Option<JunctionIdentifier>

Constructors

<init>

constructor(belongsToJunctionId: Option<JunctionIdentifier>, predecessorRoadspaceContactPointId: Option<RoadspaceContactPointIdentifier>, predecessorJunctionId: Option<JunctionIdentifier>, successorRoadspaceContactPointId: Option<RoadspaceContactPointIdentifier>, successorJunctionId: Option<JunctionIdentifier>)

Contains the topological information about the road.

Parameters

Name Description
belongsToJunctionId: Option<JunctionIdentifier>
predecessorRoadspaceContactPointId: Option<RoadspaceContactPointIdentifier>
predecessorJunctionId: Option<JunctionIdentifier>
successorRoadspaceContactPointId: Option<RoadspaceContactPointIdentifier>
successorJunctionId: Option<JunctionIdentifier>

Methods

getAllUsedRoadspaceIds

fun getAllUsedRoadspaceIds(): List<RoadspaceIdentifier>

Returns a list of RoadspaceIdentifier of roadspaces which is referred to (predecessor and/or successor).

ReturnValue

Name Description
List<RoadspaceIdentifier>

getAllUsedJunctionIds

fun getAllUsedJunctionIds(): List<JunctionIdentifier>

Returns a list of JunctionIdentifier of junctions which is referred to (belongs to, predecessor, successor).

ReturnValue

Name Description
List<JunctionIdentifier>