Curve2DBuilder

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

Functions

Link copied to clipboard
fun buildCurve2DFromPlanViewGeometries(planViewGeometryList: NonEmptyList<RoadPlanViewGeometry>, numberTolerance: Double, distanceTolerance: Double, angleTolerance: Double): CompositeCurve2D

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

Link copied to clipboard

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

Link copied to clipboard
fun prepareCurveMembers(planViewGeometryList: NonEmptyList<RoadPlanViewGeometry>, numberTolerance: Double): Triple<List<AbstractCurve2D>, List<Range<Double>>, List<Double>>

Prepares the list of RoadPlanViewGeometry for constructing the composite curve.