class Vector3DBuilder: Any

Builder for vectors in 3D from the OpenDRIVE data model.

Constructors

Name Description
constructor()

Builder for vectors in 3D from the OpenDRIVE data model.

Methods

buildVector3Ds

fun buildVector3Ds(srcRoadObject: RoadObjectsObject, curveAffine: Affine3D, force: Boolean): Result<Vector3D, IllegalArgumentException>

Builds a single point from an OpenDRIVE road object. The building of a point is suppressed, if a more detailed geometry is available within the RoadObjectsObject.

Parameters

Name Description
srcRoadObject: RoadObjectsObject

road object of OpenDRIVE

curveAffine: Affine3D

affine transformation matrix at the reference curve

force: Boolean

true, if the point generation shall be forced

ReturnValue

Name Description
Result<Vector3D, IllegalArgumentException>

buildVector3Ds

fun buildVector3Ds(srcRoadSignal: RoadSignalsSignal, curveAffine: Affine3D, force: Boolean): Result<Vector3D, IllegalArgumentException>

Builds a single point from an OpenDRIVE road signal. The building of a point is suppressed, if a more detailed geometry is available within the RoadObjectsObject.

Parameters

Name Description
srcRoadSignal: RoadSignalsSignal

road signal of OpenDRIVE

curveAffine: Affine3D

affine transformation matrix at the reference curve

force: Boolean

true, if the point generation shall be forced

ReturnValue

Name Description
Result<Vector3D, IllegalArgumentException>