class Curve2DBuilder: Any

Builder for curves in 2D from the OpenDRIVE data model.

Constructors

<init>

constructor(reportLogger: Logger, parameters: Opendrive2RoadspacesParameters)

Builder for curves in 2D from the OpenDRIVE data model.

Parameters

Name Description
reportLogger: Logger
parameters: Opendrive2RoadspacesParameters

Methods

buildCurve2DFromPlanViewGeometries

fun buildCurve2DFromPlanViewGeometries(id: RoadspaceIdentifier, srcPlanViewGeometryList: List<RoadPlanViewGeometry>, offset: Vector2D): CompositeCurve2D

Builds a concatenated curve in 2D for the OpenDRIVE's plan view elements.

Parameters

Name Description
id: RoadspaceIdentifier
srcPlanViewGeometryList: List<RoadPlanViewGeometry>

source geometry curve segments of OpenDRIVE

offset: Vector2D

applied translational offset

ReturnValue

Name Description
CompositeCurve2D

buildLateralTranslatedCurve

fun buildLateralTranslatedCurve(srcRepeat: RoadObjectsObjectRepeat, roadReferenceLine: Curve3D): LateralTranslatedCurve2D

Builds the function for laterally translating the roadReferenceLine which is inter alia required for the building of road objects.

Parameters

Name Description
srcRepeat: RoadObjectsObjectRepeat
roadReferenceLine: Curve3D

ReturnValue

Name Description
LateralTranslatedCurve2D