branch for cuboid

Revision:
2:8706bb4e8f93
Parent:
1:dd5d116ace8f
--- a/LinearCharacteristics.cpp	Thu Mar 07 09:16:03 2019 +0000
+++ b/LinearCharacteristics.cpp	Fri Mar 08 13:34:39 2019 +0000
@@ -37,6 +37,13 @@
 return dum;
     }
 
+void LinearCharacteristics::setup(float gain,float offset){    // standard lin characteristics
+    this->gain = gain;
+    this->offset = offset;
+    this->ulim = 999999.0;
+    this->llim = -999999.0; 
+}
+
 void LinearCharacteristics::setup(float xmin,float xmax, float ymin, float ymax){    // standard lin characteristics
     this->gain = (ymax - ymin)/(xmax - xmin);
     this->offset = xmax - ymax/this->gain;