mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-12 18:05:10 +02:00
Some more error handling fixes.
This commit is contained in:
@ -2,11 +2,6 @@
|
||||
#include "wgs84.h"
|
||||
#include "coordinates.h"
|
||||
|
||||
bool Coordinates::isValid() const
|
||||
{
|
||||
return (_lon >= -180.0 && _lon <= 180.0 && _lat >= -90.0 && _lat <= 90.0)
|
||||
? true : false;
|
||||
}
|
||||
|
||||
qreal Coordinates::distanceTo(const Coordinates &c) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user