]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/data/AltitudeRange.java
Version 2, March 2007
[GpsPrune.git] / tim / prune / data / AltitudeRange.java
index 5b606f4574eac372d9fdd6850ff0a3d248307513..6c7e5d55a286c1c0715227cc4a1a7204a9a164d2 100644 (file)
@@ -10,6 +10,16 @@ public class AltitudeRange
        private int _format = Altitude.FORMAT_NONE;
 
 
+       /**
+        * Clear the altitude range
+        */
+       public void clear()
+       {
+               _range.clear();
+               _format = Altitude.FORMAT_NONE;
+       }
+
+
        /**
         * Add a value to the range
         * @param inValue value to add, only positive values considered