public class QuinticSplineSegment
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 |
QuinticSplineSegment.Waypoint
Class for representing the end points of interpolated quintic splines.
|
Constructor and Description |
---|
QuinticSplineSegment(QuinticSplineSegment.Waypoint start,
QuinticSplineSegment.Waypoint end)
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 |
---|---|
double |
displacementToParameter$module(double displacement) |
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 |
parameterDeriv$module(double t) |
double |
parameterSecondDeriv$module(double t) |
double |
parameterThirdDeriv$module(double t) |
java.lang.String |
toString() |
deriv, end, endDeriv, endSecondDeriv, endThirdDeriv, get, length, secondDeriv, start, startDeriv, startSecondDeriv, startThirdDeriv, tangentAngle, tangentAngleDeriv, tangentAngleSecondDeriv, thirdDeriv
public QuinticSplineSegment(QuinticSplineSegment.Waypoint start, QuinticSplineSegment.Waypoint end)
Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details.
start
- start waypointend
- end waypointstart
- start waypointend
- end waypointpublic QuinticPolynomial getX()
X polynomial (i.e., x(t))
public QuinticPolynomial getY()
Y polynomial (i.e., y(t))
public Vector2d internalGet$module(double t)
public Vector2d internalDeriv$module(double t)
public Vector2d internalSecondDeriv$module(double t)
public Vector2d internalThirdDeriv$module(double t)
public double displacementToParameter$module(double displacement)
public double parameterDeriv$module(double t)
public double parameterSecondDeriv$module(double t)
public double parameterThirdDeriv$module(double t)
public double length()
Returns the length of the curve.
public java.lang.String toString()