Add support for boundingGeoRectangle to QGeoShape
this patch introduces QGeoShape::boundingGeoRectangle,
which returns a QGeoRectangle containing the latitudinal/longitudinal bounds
of a geoshape.
The bounding geo rectangle is projection independent, as it returns
a georectangle containing the min/max latitudes/longitudes of the
shape.
Change-Id: Ie3a83ec41f87ea3753899d2278e664fe2469f778
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | cd8880cc04b22610e835e6cc02cc16ac22ec9fae |
| parent | 0a552f285fdc3760d9755109ceef3b87392a308d |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Wed, 30 Nov 2016 08:54:11 +0000 |
- M src/positioning/qgeocircle.cpp
- M src/positioning/qgeocircle.h
- M src/positioning/qgeocircle_p.h
- M src/positioning/qgeorectangle.cpp
- M src/positioning/qgeorectangle.h
- M src/positioning/qgeorectangle_p.h
- M src/positioning/qgeoshape.cpp
- M src/positioning/qgeoshape.h
- M src/positioning/qgeoshape_p.h
- M src/positioning/qlocationutils_p.h
- M tests/auto/qgeocircle/tst_qgeocircle.cpp
- M tests/auto/qgeorectangle/tst_qgeorectangle.cpp