dasd
Dependencies: BufferedSerial
Diff: HistogramCell.h
- Revision:
- 6:1c84602323c8
- Parent:
- 4:6ebe8982de0e
--- a/HistogramCell.h Mon May 06 21:37:07 2019 +0000 +++ b/HistogramCell.h Tue May 14 17:15:43 2019 +0000 @@ -4,17 +4,15 @@ class HistogramCell { public: - int cellVal; - float x; - float y; + float cellVal; + float logodds; - void calculate(int idX, int idY){ - //this is cells position in coordinate system - // we add 2,5cm to get position of middle point of the cell not its starting point - x=idX*5+2.5; - y=idY*5+2.5; + HistogramCell(){ + cellVal = 0; + logodds = 0; } }; + #endif //UNTITLED2_HISTOGRAMCELL_H