Add support for QGeoPath
This patch adds an addition qgeoshapes, QGeoPath.
This represents a geographical path where each consecutive geopoints
are connected along the shortest line of constant bearing
(rhumb line).
The path has a width, in meters, that is used in the contains()
method to decide whether a coordinate is or not on the path, based
on shortest distance to the rhumb line segments.
Change-Id: Ia02780e3c8ac6c6d63a6083f53ea0677f8a21a1d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | e568470c6409febdb5187e3f53af32164c63169f |
| parent | 6ac41c0f58f34606afaa289243d762afd5f879d4 |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Thu, 1 Dec 2016 13:45:41 +0000 |
- M src/imports/positioning/locationsingleton.cpp
- M src/imports/positioning/locationsingleton.h
- M src/imports/positioning/positioning.cpp
- M src/positioning/positioning.pro
- A src/positioning/qgeopath.cpp
- A src/positioning/qgeopath.h
- A src/positioning/qgeopath_p.h
- M src/positioning/qgeoshape.cpp
- M src/positioning/qgeoshape.h
- M tests/auto/auto.pro
- M tests/auto/qgeocircle/tst_qgeocircle.cpp
- A tests/auto/qgeopath/qgeopath.pro
- A tests/auto/qgeopath/tst_qgeopath.cpp