class RoadspaceObjectBuilder: Any

Builder for RoadspaceObject which correspond to the OpenDRIVE road object class.

Constructors

<init>

constructor(configuration: Opendrive2RoadspacesConfiguration)

Builder for RoadspaceObject which correspond to the OpenDRIVE road object class.

Parameters

Name Description
configuration: Opendrive2RoadspacesConfiguration

Methods

buildRoadspaceObjects

fun buildRoadspaceObjects(roadspaceId: RoadspaceIdentifier, srcRoadObjects: OpendriveRoadObjects, roadReferenceLine: Curve3D, baseAttributes: AttributeList): List<RoadspaceObject>

Builds up a list of RoadspaceObject.

Parameters

Name Description
roadspaceId: RoadspaceIdentifier
srcRoadObjects: OpendriveRoadObjects
roadReferenceLine: Curve3D

road reference line required to build the geometries of the road object

baseAttributes: AttributeList

attributes attached to each road space object

ReturnValue

Name Description
List<RoadspaceObject>

buildRoadspaceObjects

fun buildRoadspaceObjects(id: RoadspaceIdentifier, srcRoadSignals: RoadSignals, roadReferenceLine: Curve3D, baseAttributes: AttributeList): List<RoadspaceObject>

Parameters

Name Description
id: RoadspaceIdentifier
srcRoadSignals: RoadSignals
roadReferenceLine: Curve3D
baseAttributes: AttributeList

ReturnValue

Name Description
List<RoadspaceObject>