Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MatrixMath Matrix ExperimentServer QEI_pmw MotorShield
BezierCurve.h
- Committer:
- uriel_magana
- Date:
- 2020-12-01
- Revision:
- 39:c8da22fcf4f3
- Parent:
- 16:f9ea2b2d410f
File content as of revision 39:c8da22fcf4f3:
class BezierCurve
{
public:
BezierCurve(int dim, int order);
~BezierCurve();
void setPoints(float pts[]);
void evaluate(float time, float point[]);
void evaluateDerivative(float time, float point[]);
private:
const int _dim;
const int _order;
float ** _pts;
int * _nck;
int * _nck_deriv;
};
