object Solid3DBuilder: Any

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

Methods

buildCuboids

fun buildCuboids(roadObject: RoadObjectsObject, curveAffine: Affine3D, numberTolerance: Double): ContextMessageList><List<Cuboid3D>>

Builds a list of cuboids from the OpenDRIVE road object class (RoadObjectsObject) directly or from the repeated entries defined in RoadObjectsObjectRepeat.

Parameters

Name Description
roadObject: RoadObjectsObject
curveAffine: Affine3D
numberTolerance: Double

ReturnValue

Name Description
ContextMessageList><List<Cuboid3D>>

buildCylinders

fun buildCylinders(roadObject: RoadObjectsObject, curveAffine: Affine3D, numberTolerance: Double): ContextMessageList><List<Cylinder3D>>

Builds a list of cylinders from the OpenDRIVE road object class (RoadObjectsObject) directly or from the repeated entries defined in RoadObjectsObjectRepeat.

Parameters

Name Description
roadObject: RoadObjectsObject
curveAffine: Affine3D
numberTolerance: Double

ReturnValue

Name Description
ContextMessageList><List<Cylinder3D>>

buildPolyhedronsByRoadCorners

fun buildPolyhedronsByRoadCorners(roadObject: RoadObjectsObject, roadReferenceLine: Curve3D, numberTolerance: Double): ContextMessageList><List<Polyhedron3D>>

Builds a list of polyhedrons from OpenDRIVE road objects defined by road corner outlines.

Parameters

Name Description
roadObject: RoadObjectsObject

road object of OpenDRIVE

roadReferenceLine: Curve3D

road reference line for transforming curve relative coordinates

numberTolerance: Double

ReturnValue

Name Description
ContextMessageList><List<Polyhedron3D>>

list of polyhedrons

buildPolyhedronsByLocalCorners

fun buildPolyhedronsByLocalCorners(roadObject: RoadObjectsObject, curveAffine: Affine3D, numberTolerance: Double): ContextMessageList><List<Polyhedron3D>>

Builds a list of polyhedrons from OpenDRIVE road objects defined by local corner outlines.

Parameters

Name Description
roadObject: RoadObjectsObject

road object of OpenDRIVE

curveAffine: Affine3D

affine transformation matrix from the curve

numberTolerance: Double

ReturnValue

Name Description
ContextMessageList><List<Polyhedron3D>>

list of polyhedrons

buildParametricSweeps

fun buildParametricSweeps(roadObjectRepeat: RoadObjectsObjectRepeat, roadReferenceLine: Curve3D, numberTolerance: Double): Option<ParametricSweep3D>

Builds a parametric sweep from OpenDRIVE road objects defined by the repeat entries.

Parameters

Name Description
roadObjectRepeat: RoadObjectsObjectRepeat

repeated road object of OpenDRIVE

roadReferenceLine: Curve3D

road reference line for transforming curve relative coordinates

numberTolerance: Double

ReturnValue

Name Description
Option<ParametricSweep3D>