mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-14 10:54:24 +02:00
isNull() & isValid() logic improvement
This commit is contained in:
@ -15,7 +15,7 @@ public:
|
||||
bool isNull() const
|
||||
{return _tl.isNull() && _br.isNull();}
|
||||
bool isValid() const
|
||||
{return !(_tl.isNull() || _br.isNull() || _tl == _br);}
|
||||
{return (_tl.isValid() && _br.isValid() && _tl != _br);}
|
||||
|
||||
Coordinates topLeft() const {return _tl;}
|
||||
Coordinates bottomRight() const {return _br;}
|
||||
|
Reference in New Issue
Block a user