QuinticPolynomial

public final class QuinticPolynomial

Quintic Bezier Polynomial

Constructors

Link copied to clipboard
public QuinticPolynomial QuinticPolynomial(Double start, Double startDeriv, Double startSecondDeriv, Double end, Double endDeriv, Double endSecondDeriv)

Properties

Link copied to clipboard
private final DoubleArray coeffs
Link copied to clipboard
private final DoubleArray controlPoints
Link copied to clipboard
private final DoubleArray dcoeffs

Functions

Link copied to clipboard
public final Double deriv(Double t)

Returns the derivative of the polynomial at t.

Link copied to clipboard
public final Double get(Double t)

Returns the value of the polynomial at t.

Link copied to clipboard
public final DoubleArray getCoeffs()
Link copied to clipboard
Link copied to clipboard
public final DoubleArray getDcoeffs()
Link copied to clipboard
public final Double secondDeriv(Double t)

Returns the second derivative of the polynomial at t.

Link copied to clipboard
public final Double thirdDeriv(Double t)

Returns the third derivative of the polynomial at t.

Link copied to clipboard
public String toString()