SplineInterpolator
class SplineInterpolator @JvmOverloads constructor(startHeading: Angle, endHeading: Angle, startHeadingDeriv: Angle? = null, startHeadingSecondDeriv: Angle? = null, endHeadingDeriv: Angle? = null, endHeadingSecondDeriv: Angle? = null) : HeadingInterpolator
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
Parameters
startHeading
start heading
endHeading
end heading
startHeadingDeriv
start heading deriv (advanced)
startHeadingSecondDeriv
start heading second deriv (advanced)
endHeadingDeriv
start heading deriv (advanced)
endHeadingSecondDeriv
start heading second deriv (advanced)
Functions
Link copied to clipboard
Initialize the interpolator with a curve.