addLateralTranslation
fun addLateralTranslation(lateralTranslationFunction: UnivariateFunction, multiplier: Double = 1.0): LateralTranslatedCurve2D
Returns a LateralTranslatedCurve2D with an additional translation of lateralTranslationFunction.
Return
resulting LateralTranslatedCurve2D
Parameters
lateralTranslationFunction
lateral translation function that is added
multiplier
multiplication factor, whereby 0.5 means that only 0.5 of the translation function is added