object FunctionBuilder: Any
Methods
buildCurveTorsion
fun buildCurveTorsion(superelevation: NonEmptyList
Builds a function that describes the torsion of the road reference line.
Parameters
Name | Description |
---|---|
superelevation: NonEmptyList
|
entries containing coefficients for polynomial functions |
ReturnValue
Name | Description |
---|---|
UnivariateFunction
|
buildLateralShape
fun buildLateralShape(roadLateralProfileShape: NonEmptyList
Builds a function that describes one lateral entry of a road's shape.
Parameters
Name | Description |
---|---|
roadLateralProfileShape: NonEmptyList
|
the cross-sectional profile of a road at a certain curve position |
ReturnValue
Name | Description |
---|---|
UnivariateFunction
|
buildLaneOffset
fun buildLaneOffset(laneOffsets: NonEmptyList
Builds a function that described the lateral lane offset to the road reference line.
Parameters
Name | Description |
---|---|
laneOffsets: NonEmptyList
|
ReturnValue
Name | Description |
---|---|
UnivariateFunction
|
buildLaneWidth
fun buildLaneWidth(laneWidthEntries: NonEmptyList
Builds a function that describes the lane width.
Parameters
Name | Description |
---|---|
laneWidthEntries: NonEmptyList
|
entries containing coefficients for polynomial functions |
numberTolerance: Double
|
ReturnValue
Name | Description |
---|---|
UnivariateFunction
|
function describing the width of a lane |
buildStackedHeightFunctionFromRepeat
fun buildStackedHeightFunctionFromRepeat(repeat: RoadObjectsObjectRepeat, roadReferenceLine: Curve3D): StackedFunction
Returns the absolute height function of a RoadObjectsObjectRepeat object. Therefore a linear function is build for the zOffsets and is added to the height function of the roadReferenceLine.
Parameters
Name | Description |
---|---|
repeat: RoadObjectsObjectRepeat
|
object for which the height function shall be constructed |
roadReferenceLine: Curve3D
|
road's height |
ReturnValue
Name | Description |
---|---|
StackedFunction
|
function of the object's absolute height |
Builder for functions of the OpenDRIVE data model.