buildRoad

Builds a single road from the OpenDRIVE data model.

Parameters

id

identifier of the road space

road

source road model of OpenDRIVE

roadSurface

road surface with torsion applied

roadSurfaceWithoutTorsion

road surface without torsion applied (needed for lanes with true level entry)

baseAttributes

attributes attached to each element of the road (e.g. lanes)