SplineInterpolator

public final class SplineInterpolator extends 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)

Constructors

Link copied to clipboard
public SplineInterpolator SplineInterpolator(Angle startHeading, Angle endHeading, Angle startHeadingDeriv, Angle startHeadingSecondDeriv, Angle endHeadingDeriv, Angle endHeadingSecondDeriv)
public SplineInterpolator SplineInterpolator(Angle startHeading, Angle endHeading, Angle startHeadingDeriv, Angle startHeadingSecondDeriv, Angle endHeadingDeriv)
public SplineInterpolator SplineInterpolator(Angle startHeading, Angle endHeading, Angle startHeadingDeriv, Angle startHeadingSecondDeriv)
public SplineInterpolator SplineInterpolator(Angle startHeading, Angle endHeading, Angle startHeadingDeriv)
public SplineInterpolator SplineInterpolator(Angle startHeading, Angle endHeading)

Functions

Link copied to clipboard
public Unit init(ParametricCurve curve)

Initialize the interpolator with a curve.