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: EthernetInterface ExperimentServer QEI_pmw mbed-rtos mbed
BezierCurve.h@1:fa2766bcfd50, 2015-10-19 (annotated)
- Committer:
- pwensing
- Date:
- Mon Oct 19 17:23:10 2015 +0000
- Revision:
- 1:fa2766bcfd50
- Parent:
- 0:cef87d1a41ad
Reduced bezier order
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pwensing | 0:cef87d1a41ad | 1 | class BezierCurve |
pwensing | 0:cef87d1a41ad | 2 | { |
pwensing | 0:cef87d1a41ad | 3 | public: |
pwensing | 0:cef87d1a41ad | 4 | BezierCurve(int dim, int order); |
pwensing | 0:cef87d1a41ad | 5 | ~BezierCurve(); |
pwensing | 0:cef87d1a41ad | 6 | void setPoints(float pts[]); |
pwensing | 0:cef87d1a41ad | 7 | void evaluate(float time, float point[]); |
pwensing | 0:cef87d1a41ad | 8 | void evaluateDerivative(float time, float point[]); |
pwensing | 0:cef87d1a41ad | 9 | private: |
pwensing | 0:cef87d1a41ad | 10 | const int _dim; |
pwensing | 0:cef87d1a41ad | 11 | const int _order; |
pwensing | 0:cef87d1a41ad | 12 | float ** _pts; |
pwensing | 0:cef87d1a41ad | 13 | int * _nck; |
pwensing | 0:cef87d1a41ad | 14 | int * _nck_deriv; |
pwensing | 0:cef87d1a41ad | 15 | }; |