]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/data/DoubleRange.java
Version 5, May 2008
[GpsPrune.git] / tim / prune / data / DoubleRange.java
index f241d4d13470eb1b5e1feb60cdab5d22b686d5b8..e103759fb7eb20d83eb9f7ca6d94cd2ba675d672 100644 (file)
@@ -10,6 +10,20 @@ public class DoubleRange
        private double _min = 0.0, _max = 0.0;
 
 
+       /** Empty constructor, cleared to zeroes */
+       public DoubleRange() {}
+
+       /**
+        * Constructor giving two initial values
+        * @param inValue1 first value
+        * @param inValue2 second value
+        */
+       public DoubleRange(double inValue1, double inValue2)
+       {
+               addValue(inValue1);
+               addValue(inValue2);
+       }
+
        /**
         * Clear for a new calculation
         */