class RoadspaceBuilder: Any

Builder of Roadspace (RoadSpaces data model) to the Road class of the OpenDRIVE data model.

Constructors

<init>

constructor(parameters: Opendrive2RoadspacesParameters)

Builder of Roadspace (RoadSpaces data model) to the Road class of the OpenDRIVE data model.

Parameters

Name Description
parameters: Opendrive2RoadspacesParameters

Methods

buildRoadspace

fun buildRoadspace(modelId: ModelIdentifier, road: OpendriveRoad): Either><Opendrive2RoadspacesTransformationException, ContextMessageList<Roadspace>>

Builds a Roadspace of the RoadSpaces data model from the OpenDRIVE road.

Parameters

Name Description
modelId: ModelIdentifier

identifier of the actual model

road: OpendriveRoad

source OpenDRIVE model

ReturnValue

Name Description
Either><Opendrive2RoadspacesTransformationException, ContextMessageList<Roadspace>>

transformed Roadspace