public class SplineInterpolator
extends HeadingInterpolator
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
curve
Constructor and Description |
---|
SplineInterpolator(double startHeading,
double endHeading)
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence
allowing for integration into longer profiles).
|
Modifier and Type | Method and Description |
---|---|
void |
init(ParametricCurve curve)
Initialize the interpolator with a
curve . |
double |
internalDeriv$module(double s,
double t) |
double |
internalGet$module(double s,
double t) |
double |
internalSecondDeriv$module(double s,
double t) |
deriv, deriv, end, endDeriv, endSecondDeriv, get, get, getCurve, init, secondDeriv, secondDeriv, setCurve, start, startDeriv, startSecondDeriv
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)