getCurveOnLane

fun getCurveOnLane(laneIdentifier: LaneIdentifier, factor: Double, addLateralOffset: UnivariateFunction = ConstantFunction.ZERO): Either<Exception, AbstractCurve3D>

Returns a curve that lies on the road surface and is parallel to the lane boundaries

Parameters

laneIdentifier

identifier for requested lane

factor

if the factor is 0.0, the inner lane boundary is returned; if the factor is 1.0, the outer lane boundary is returned; if the factor is 0.5, the center line of the lane is returned