Road

constructor(id: RoadspaceIdentifier, surface: AbstractCurveRelativeSurface3D, surfaceWithoutTorsion: AbstractCurveRelativeSurface3D, laneOffset: UnivariateFunction, laneSections: NonEmptyList<LaneSection>, linkage: RoadLinkage)

Parameters

id

identifier of this road (each roadspace has exactly one road)

surface

surface geometry of the road with torsion applied

surfaceWithoutTorsion

surface geometry of the road without torsion applied

laneOffset

lateral lane offset to road reference line

laneSections

lane sections of this road

linkage

link information to other roads and junctions