public class QuinticSpline
extends ParametricCurve
Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details.
| Modifier and Type | Class and Description |
|---|---|
static class |
QuinticSpline.Waypoint
Class for representing the end points of interpolated quintic splines.
|
| Constructor and Description |
|---|
QuinticSpline(QuinticSpline.Waypoint start,
QuinticSpline.Waypoint end,
double maxDeltaK,
double maxSegmentLength)
Combination of two quintic polynomials into a 2D quintic spline. See
this short paper for
some motivation and implementation details.
|
| Modifier and Type | Method and Description |
|---|---|
QuinticPolynomial |
getX()
X polynomial (i.e., x(t))
|
QuinticPolynomial |
getY()
Y polynomial (i.e., y(t))
|
Vector2d |
internalDeriv$module(double t) |
Vector2d |
internalGet$module(double t) |
Vector2d |
internalSecondDeriv$module(double t) |
Vector2d |
internalThirdDeriv$module(double t) |
double |
length()
Returns the length of the curve.
|
double |
paramDeriv$module(double t) |
double |
paramSecondDeriv$module(double t) |
double |
paramThirdDeriv$module(double t) |
double |
reparam$module(double s) |
kotlin.Array[] |
reparam$module(DoubleProgression s) |
java.lang.String |
toString() |
deriv, deriv, end, endDeriv, endSecondDeriv, endThirdDeriv, get, get, length, secondDeriv, secondDeriv, start, startDeriv, startSecondDeriv, startThirdDeriv, tangentAngle, tangentAngle, tangentAngleDeriv, tangentAngleDeriv, tangentAngleSecondDeriv, tangentAngleSecondDeriv, thirdDeriv, thirdDerivpublic QuinticSpline(@NotNull
QuinticSpline.Waypoint start,
@NotNull
QuinticSpline.Waypoint end,
double maxDeltaK,
double maxSegmentLength)
Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details.
start - start waypointend - end waypointmaxDeltaK - maximum change in curvature between arc length param segmentsmaxSegmentLength - maximum length of a single param segment@NotNull public QuinticPolynomial getX()
X polynomial (i.e., x(t))
@NotNull public QuinticPolynomial getY()
Y polynomial (i.e., y(t))
@NotNull public Vector2d internalGet$module(double t)
@NotNull public Vector2d internalDeriv$module(double t)
@NotNull public Vector2d internalSecondDeriv$module(double t)
@NotNull public Vector2d internalThirdDeriv$module(double t)
public double reparam$module(double s)
@NotNull
public kotlin.Array[] reparam$module(@NotNull
DoubleProgression s)
public double paramDeriv$module(double t)
public double paramSecondDeriv$module(double t)
public double paramThirdDeriv$module(double t)
public double length()
Returns the length of the curve.
@NotNull public java.lang.String toString()