class RoadspaceObjectBuilder: Any

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

Constructors

<init>

constructor(parameters: Opendrive2RoadspacesParameters)

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

Parameters

Name Description
parameters: Opendrive2RoadspacesParameters

Methods

buildRoadspaceObjects

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

Builds up a list of RoadspaceObject.

Parameters

Name Description
roadspaceId: RoadspaceIdentifier
roadObjects: 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
ContextMessageList><List<RoadspaceObject>>

buildRoadspaceObjects

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

Parameters

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

ReturnValue

Name Description
List<RoadspaceObject>