summaryrefslogtreecommitdiff
path: root/src/mbgl/util/intersection_tests.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2016-04-05 16:27:37 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-29 12:00:24 -0700
commit61d14089e0dd742719328fd74c693bcae6274a4b (patch)
treee47265a472fe75c635a22815ddc4a0c3fa1dbf84 /src/mbgl/util/intersection_tests.hpp
parent25442a77be75001665771097d8978b1191e403d9 (diff)
downloadqtlocation-mapboxgl-61d14089e0dd742719328fd74c693bcae6274a4b.tar.gz
[core] implement queryRenderedFeatures
Diffstat (limited to 'src/mbgl/util/intersection_tests.hpp')
-rw-r--r--src/mbgl/util/intersection_tests.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mbgl/util/intersection_tests.hpp b/src/mbgl/util/intersection_tests.hpp
new file mode 100644
index 0000000000..a6e4308039
--- /dev/null
+++ b/src/mbgl/util/intersection_tests.hpp
@@ -0,0 +1,16 @@
+#ifndef MBGL_UTIL_INTERSECTION_TESTS
+#define MBGL_UTIL_INTERSECTION_TESTS
+
+#include <mbgl/tile/geometry_tile.hpp>
+
+namespace mbgl {
+namespace util {
+
+bool multiPolygonIntersectsBufferedMultiPoint(const GeometryCollection&, const GeometryCollection&, float radius);
+bool multiPolygonIntersectsBufferedMultiLine(const GeometryCollection&, const GeometryCollection&, float radius);
+bool multiPolygonIntersectsMultiPolygon(const GeometryCollection&, const GeometryCollection&);
+
+}
+} // namespace mbgl
+
+#endif