class Surface3DBuilder: Any

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

Constructors

<init>

constructor(reportLogger: Logger, configuration: Opendrive2RoadspacesConfiguration)

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

Parameters

Name Description
reportLogger: Logger
configuration: Opendrive2RoadspacesConfiguration

Methods

buildRectangles

fun buildRectangles(roadObject: RoadObjectsObject, curveAffine: Affine3D): List<Rectangle3D>

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

Parameters

Name Description
roadObject: RoadObjectsObject
curveAffine: Affine3D

ReturnValue

Name Description
List<Rectangle3D>

buildCircles

fun buildCircles(roadObject: RoadObjectsObject, curveAffine: Affine3D): List<Circle3D>

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

Parameters

Name Description
roadObject: RoadObjectsObject
curveAffine: Affine3D

ReturnValue

Name Description
List<Circle3D>

buildLinearRingsByRoadCorners

fun buildLinearRingsByRoadCorners(id: RoadspaceObjectIdentifier, roadObject: RoadObjectsObject, referenceLine: Curve3D): List<LinearRing3D>

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

Parameters

Name Description
id: RoadspaceObjectIdentifier
roadObject: RoadObjectsObject
referenceLine: Curve3D

ReturnValue

Name Description
List<LinearRing3D>

buildLinearRingsByLocalCorners

fun buildLinearRingsByLocalCorners(id: RoadspaceObjectIdentifier, roadObject: RoadObjectsObject, curveAffine: Affine3D): List<LinearRing3D>

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

Parameters

Name Description
id: RoadspaceObjectIdentifier
roadObject: RoadObjectsObject
curveAffine: Affine3D

ReturnValue

Name Description
List<LinearRing3D>

buildParametricBoundedSurfacesByHorizontalRepeat

fun buildParametricBoundedSurfacesByHorizontalRepeat(id: RoadspaceObjectIdentifier, roadObjectRepeat: RoadObjectsObjectRepeat, roadReferenceLine: Curve3D): List<ParametricBoundedSurface3D>

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

Parameters

Name Description
id: RoadspaceObjectIdentifier
roadObjectRepeat: RoadObjectsObjectRepeat
roadReferenceLine: Curve3D

ReturnValue

Name Description
List<ParametricBoundedSurface3D>

buildParametricBoundedSurfacesByVerticalRepeat

fun buildParametricBoundedSurfacesByVerticalRepeat(id: RoadspaceObjectIdentifier, roadObjectRepeat: RoadObjectsObjectRepeat, roadReferenceLine: Curve3D): List<ParametricBoundedSurface3D>

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

Parameters

Name Description
id: RoadspaceObjectIdentifier
roadObjectRepeat: RoadObjectsObjectRepeat
roadReferenceLine: Curve3D

ReturnValue

Name Description
List<ParametricBoundedSurface3D>