class Surface3DBuilder: Any

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

Constructors

<init>

constructor(reportLogger: Logger, parameters: Opendrive2RoadspacesParameters)

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

Parameters

Name Description
reportLogger: Logger
parameters: Opendrive2RoadspacesParameters

Methods

buildRectangles

fun buildRectangles(srcRoadObject: 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
srcRoadObject: RoadObjectsObject
curveAffine: Affine3D

ReturnValue

Name Description
List<Rectangle3D>

buildCircles

fun buildCircles(srcRoadObject: 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
srcRoadObject: RoadObjectsObject
curveAffine: Affine3D

ReturnValue

Name Description
List<Circle3D>

buildLinearRingsByRoadCorners

fun buildLinearRingsByRoadCorners(id: RoadspaceObjectIdentifier, srcRoadObject: 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
srcRoadObject: RoadObjectsObject
referenceLine: Curve3D

ReturnValue

Name Description
List<LinearRing3D>

buildLinearRingsByLocalCorners

fun buildLinearRingsByLocalCorners(id: RoadspaceObjectIdentifier, srcRoadObject: 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
srcRoadObject: RoadObjectsObject
curveAffine: Affine3D

ReturnValue

Name Description
List<LinearRing3D>