class Curve3DBuilder: Any

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

Constructors

<init>

constructor(reportLogger: Logger, configuration: Opendrive2RoadspacesConfiguration)

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

Parameters

Name Description
reportLogger: Logger
configuration: Opendrive2RoadspacesConfiguration

Methods

buildCurve3D

fun buildCurve3D(id: RoadspaceIdentifier, planViewGeometries: List<RoadPlanViewGeometry>, elevationProfiles: List<RoadElevationProfileElevation>): Result<Curve3D, IllegalArgumentException>

Builds a curve in 3D from OpenDRIVE's plan view entries and the elevation profile.

Parameters

Name Description
id: RoadspaceIdentifier
planViewGeometries: List<RoadPlanViewGeometry>
elevationProfiles: List<RoadElevationProfileElevation>

ReturnValue

Name Description
Result<Curve3D, IllegalArgumentException>

buildCurve3D

fun buildCurve3D(roadObject: RoadObjectsObject, roadReferenceLine: Curve3D): List<Curve3D>

Builds a curve in 3D from OpenDRIVE's road object entry roadObject.

Parameters

Name Description
roadObject: RoadObjectsObject
roadReferenceLine: Curve3D

ReturnValue

Name Description
List<Curve3D>