public class SplineInterpolator
extends HeadingInterpolator
Spline heading interpolator for transitioning smoothly between headings without violating continuity (and hence allowing for integration into longer profiles).
parametricCurve
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 parametricCurve)
Initialize the interpolator with a
parametricCurve . |
protected double |
internalDeriv(double s,
double t) |
protected double |
internalGet(double s,
double t) |
protected double |
internalSecondDeriv(double s,
double t) |
boolean |
respectsDerivativeContinuity()
Returns true if the heading interpolator respects derivative continuity at path segment endpoints. That is,
the start and end heading derivatives match those of the
class TangentInterpolator . |
deriv, deriv, end, endDeriv, endSecondDeriv, get, get, getParametricCurve, init, internalDeriv, internalGet, internalSecondDeriv, respectsDerivativeContinuity, secondDeriv, secondDeriv, setParametricCurve, 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 parametricCurve)
Initialize the interpolator with a parametricCurve
.
parametricCurve
- parametric curveparametricCurve
public boolean respectsDerivativeContinuity()
Returns true if the heading interpolator respects derivative continuity at path segment endpoints. That is,
the start and end heading derivatives match those of the class TangentInterpolator
.
class TangentInterpolator
class TangentInterpolator
protected double internalGet(double s, double t)
protected double internalDeriv(double s, double t)
protected double internalSecondDeriv(double s, double t)