+ /** Empty flag */
+ private boolean _empty;
+ /** Previous metric value */
+ private int _prevValue;
+ /** Total climb in metres */
+ private double _climb;
+ /** Total descent in metres */
+ private double _descent;
+
+
+ /**
+ * Constructor
+ */
+ public AltitudeRange() {
+ clear();
+ }
+
+ /**
+ * Clear the altitude range
+ */
+ public void clear()
+ {
+ _range.clear();
+ _climb = 0.0;
+ _descent = 0.0;
+ _empty = true;
+ _prevValue = 0;
+ }