public class ConstantInterpolator
extends HeadingInterpolator
Constant heading interpolator used for arbitrary holonomic translations.
parametricCurve
Constructor and Description |
---|
ConstantInterpolator(double heading)
Constant heading interpolator used for arbitrary holonomic translations.
|
Modifier and Type | Method and Description |
---|---|
double |
deriv(double displacement)
Returns the heading derivative at the specified displacement.
|
double |
get(double displacement)
Returns the heading at the specified displacement.
|
double |
getHeading()
heading to maintain
|
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 . |
double |
secondDeriv(double displacement)
Returns the heading second derivative at the specified displacement.
|
deriv, end, endDeriv, endSecondDeriv, get, getParametricCurve, init, respectsDerivativeContinuity, secondDeriv, setParametricCurve, start, startDeriv, startSecondDeriv
public ConstantInterpolator(double heading)
Constant heading interpolator used for arbitrary holonomic translations.
heading
- heading to maintainheading
- heading to maintainpublic 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
public double get(double displacement)
Returns the heading at the specified displacement.
public double deriv(double displacement)
Returns the heading derivative at the specified displacement.
public double secondDeriv(double displacement)
Returns the heading second derivative at the specified displacement.
public double getHeading()
heading to maintain