BezierCurveCoefficients

This is the BezierCurveCoefficients class. This class handles holding the coefficients for each control point for the BezierCurve class to allow for faster on the fly calculations of points, derivatives, and second derivatives on Bezier curves.

Author

Anyi Lin - 10158 Scott's Bots

Aaron Yang - 10158 Scott's Bots

Harrison Womack - 10158 Scott's Bots

Constructors

Link copied to clipboard
public void BezierCurveCoefficients(int n, int i)
This creates the coefficients within the summation equations for calculating positions, derivatives, and second derivatives on Bezier curves.

Functions

Link copied to clipboard
public double getDerivativeValue(double t)
This returns the coefficient for the summation to calculate a derivative on BezierCurves.
Link copied to clipboard
public double getSecondDerivativeValue(double t)
This returns the coefficient for the summation to calculate a second derivative on BezierCurves.
Link copied to clipboard
public double getValue(double t)
This returns the coefficient for the summation to calculate a position on BezierCurves.