mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-31 10:54:24 +02:00
Added moving time info.
Added special track data processing for "pause states".
This commit is contained in:
@ -24,6 +24,7 @@ public:
|
||||
|
||||
qreal distance() const;
|
||||
qreal time() const;
|
||||
qreal movingTime() const;
|
||||
QDateTime date() const;
|
||||
|
||||
const QString &name() const {return _data.name();}
|
||||
@ -32,6 +33,8 @@ public:
|
||||
bool isNull() const {return (_data.size() < 2);}
|
||||
|
||||
private:
|
||||
bool discardStopPoint(int i) const;
|
||||
|
||||
const TrackData &_data;
|
||||
|
||||
QVector<qreal> _distance;
|
||||
@ -39,6 +42,9 @@ private:
|
||||
QVector<qreal> _speed;
|
||||
|
||||
QSet<int> _outliers;
|
||||
QSet<int> _stop;
|
||||
|
||||
qreal _pause;
|
||||
};
|
||||
|
||||
#endif // TRACK_H
|
||||
|
Reference in New Issue
Block a user