branch for cuboid
Diff: Unwrapper_2pi.h
- Revision:
- 0:72b60c5271cc
diff -r 000000000000 -r 72b60c5271cc Unwrapper_2pi.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Unwrapper_2pi.h Thu Mar 07 07:03:44 2019 +0000 @@ -0,0 +1,26 @@ +/* +*/ + +using namespace std; + +class Unwrapper_2pi +{ +public: + + Unwrapper_2pi(void); + + float operator()(float in) { + return doStep(in); + } + + virtual ~Unwrapper_2pi(); + + void reset(void); + float doStep(float inc); + +private: + + long turns; + float last_value; + +};