public class SplineInterpolator
extends HeadingInterpolator
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
@JvmOverloads public SplineInterpolator(double startHeading, double endHeading, @Nullable java.lang.Double startHeadingDeriv, @Nullable java.lang.Double startHeadingSecondDeriv, @Nullable java.lang.Double endHeadingDeriv, @Nullable java.lang.Double endHeadingSecondDeriv)
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
startHeading
- start headingendHeading
- end headingstartHeadingDeriv
- start heading deriv (advanced)startHeadingSecondDeriv
- start heading second deriv (advanced)endHeadingDeriv
- start heading deriv (advanced)endHeadingSecondDeriv
- start heading second deriv (advanced)@JvmOverloads public SplineInterpolator(double startHeading, double endHeading, @Nullable java.lang.Double startHeadingDeriv, @Nullable java.lang.Double startHeadingSecondDeriv, @Nullable java.lang.Double endHeadingDeriv)
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
startHeading
- start headingendHeading
- end headingstartHeadingDeriv
- start heading deriv (advanced)startHeadingSecondDeriv
- start heading second deriv (advanced)endHeadingDeriv
- start heading deriv (advanced)@JvmOverloads public SplineInterpolator(double startHeading, double endHeading, @Nullable java.lang.Double startHeadingDeriv, @Nullable java.lang.Double startHeadingSecondDeriv)
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
startHeading
- start headingendHeading
- end headingstartHeadingDeriv
- start heading deriv (advanced)startHeadingSecondDeriv
- start heading second deriv (advanced)@JvmOverloads public SplineInterpolator(double startHeading, double endHeading, @Nullable java.lang.Double startHeadingDeriv)
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
startHeading
- start headingendHeading
- end headingstartHeadingDeriv
- start heading deriv (advanced)@JvmOverloads public SplineInterpolator(double startHeading, double endHeading)
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
startHeading
- start headingendHeading
- end headingpublic void init(@NotNull ParametricCurve curve)
Initialize the interpolator with a curve
.
curve
- parametric curvecurve
public double internalGet$module(double s, double t)
public double internalDeriv$module(double s, double t)
public double internalSecondDeriv$module(double s, double t)