Surface3DBuilder

Builder for surface geometries in 3D from the OpenDRIVE data model.

Functions

Link copied to clipboard
fun buildCircle(    roadObject: RoadObjectsObject,     curveAffine: Affine3D,     numberTolerance: Double): Circle3D

Builds a circle from an RoadObjectsObject with curveAffine being the affine transformation at respective curve.

Link copied to clipboard
fun buildLinearRingsByLocalCorners(    roadObject: RoadObjectsObject,     curveAffine: Affine3D,     numberTolerance: Double): ContextIssueList<List<LinearRing3D>>

Builds a list of linear rings from an OpenDRIVE road object defined by local corner outlines.

Link copied to clipboard
fun buildLinearRingsByRoadCorners(    roadObject: RoadObjectsObject,     referenceLine: Curve3D,     numberTolerance: Double): ContextIssueList<List<LinearRing3D>>

Builds a list of linear rings from an OpenDRIVE road object defined by road corner outlines.

fun buildParametricBoundedSurfacesByHorizontalRepeat(    roadObjectRepeat: RoadObjectsObjectRepeat,     roadReferenceLine: Curve3D,     numberTolerance: Double): List<ParametricBoundedSurface3D>

Builds a parametric bounded surface from OpenDRIVE road objects defined by repeat entries representing a horizontal surface.

fun buildParametricBoundedSurfacesByVerticalRepeat(    roadObjectRepeat: RoadObjectsObjectRepeat,     roadReferenceLine: Curve3D,     numberTolerance: Double): List<ParametricBoundedSurface3D>

Builds a parametric bounded surface from OpenDRIVE road objects defined by repeat entries representing a vertical surface.

Link copied to clipboard
fun buildRectangle(    roadObject: RoadObjectsObject,     curveAffine: Affine3D,     numberTolerance: Double): Rectangle3D

Builds a rectangle from an RoadObjectsObject with curveAffine being the affine transformation at respective curve.

fun buildRectangle(    roadObject: RoadSignalsSignal,     curveAffine: Affine3D,     numberTolerance: Double): Rectangle3D

Builds a rectangle from an RoadSignalsSignal with curveAffine being the affine transformation at respective curve.