summaryrefslogtreecommitdiff
path: root/src/location/quickmapitems/qdeclarativegeomapitemutils_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/quickmapitems/qdeclarativegeomapitemutils_p.h')
-rw-r--r--src/location/quickmapitems/qdeclarativegeomapitemutils_p.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/location/quickmapitems/qdeclarativegeomapitemutils_p.h b/src/location/quickmapitems/qdeclarativegeomapitemutils_p.h
index 2f117520..50ece528 100644
--- a/src/location/quickmapitems/qdeclarativegeomapitemutils_p.h
+++ b/src/location/quickmapitems/qdeclarativegeomapitemutils_p.h
@@ -52,6 +52,14 @@ namespace QDeclarativeGeoMapItemUtils
}
};
+
+ double distanceSqrPointLine(double p0_x
+ , double p0_y
+ , double p1_x
+ , double p1_y
+ , double p2_x
+ , double p2_y);
+
void wrapPath(const QList<QGeoCoordinate> &perimeter
, const QGeoCoordinate &geoLeftBound
, const QGeoProjectionWebMercator &p
@@ -80,6 +88,8 @@ namespace QDeclarativeGeoMapItemUtils
, const QGeoProjectionWebMercator &p
, QPainterPath &projectedBbox);
+ QRectF boundingRectangleFromList(const QList<QDoubleVector2D> &list);
+
};
QT_END_NAMESPACE