public class NthDegreeSplineSegment
extends ParametricCurve
Combination of two quintic polynomials into a 2D spline.
Constructor and Description |
---|
NthDegreeSplineSegment(java.util.List<com.acmerobotics.roadrunner.Vector2d> start,
java.util.List<com.acmerobotics.roadrunner.Vector2d> end)
Combination of two quintic polynomials into a 2D spline.
|
Modifier and Type | Method and Description |
---|---|
double |
displacementToParameter$module(double displacement) |
NthDegreePolynomial |
getX() |
NthDegreePolynomial |
getY() |
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) |
deriv, end, endDeriv, endSecondDeriv, endThirdDeriv, get, length, secondDeriv, start, startDeriv, startSecondDeriv, startThirdDeriv, tangentAngle, tangentAngleDeriv, tangentAngleSecondDeriv, thirdDeriv
public NthDegreeSplineSegment(java.util.List<com.acmerobotics.roadrunner.Vector2d> start, java.util.List<com.acmerobotics.roadrunner.Vector2d> end)
Combination of two quintic polynomials into a 2D spline.
start
- start derivatives starting with the 0th derivativeend
- end derivatives starting with the 0th derivativestart
- start derivatives starting with the 0th derivativeend
- end derivatives starting with the 0th derivativepublic NthDegreePolynomial getX()
public NthDegreePolynomial getY()
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.