branch for cuboid

Committer:
altb2
Date:
Fri Nov 22 16:44:35 2019 +0000
Revision:
3:b23f59513a90
Parent:
0:72b60c5271cc
Some changes in lib

Who changed what in which revision?

UserRevisionLine numberNew contents of line
altb2 0:72b60c5271cc 1 /*
altb2 0:72b60c5271cc 2 */
altb2 0:72b60c5271cc 3
altb2 0:72b60c5271cc 4 using namespace std;
altb2 0:72b60c5271cc 5
altb2 0:72b60c5271cc 6 class Unwrapper
altb2 0:72b60c5271cc 7 {
altb2 0:72b60c5271cc 8 public:
altb2 0:72b60c5271cc 9
altb2 0:72b60c5271cc 10 Unwrapper(double);
altb2 0:72b60c5271cc 11
altb2 0:72b60c5271cc 12 double operator()(short inc) {
altb2 0:72b60c5271cc 13 return doStep(inc);
altb2 0:72b60c5271cc 14 }
altb2 0:72b60c5271cc 15
altb2 0:72b60c5271cc 16 virtual ~Unwrapper();
altb2 0:72b60c5271cc 17
altb2 0:72b60c5271cc 18 void reset(void);
altb2 0:72b60c5271cc 19 double doStep(short inc);
altb2 0:72b60c5271cc 20
altb2 0:72b60c5271cc 21 private:
altb2 0:72b60c5271cc 22
altb2 0:72b60c5271cc 23 long last_value;
altb2 0:72b60c5271cc 24 double inc2rad;
altb2 0:72b60c5271cc 25
altb2 0:72b60c5271cc 26 };