summaryrefslogtreecommitdiff
path: root/src/mbgl/util/intersection_tests.hpp
blob: 5bcb29c7679a3fe2f5b8ff0487c768e8c34492db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <mbgl/tile/geometry_tile_data.hpp>

namespace mbgl {
namespace util {

bool polygonIntersectsBufferedMultiPoint(const GeometryCoordinates&, const GeometryCollection&, float radius);
bool polygonIntersectsBufferedMultiLine(const GeometryCoordinates&, const GeometryCollection&, float radius);
bool polygonIntersectsPolygon(const GeometryCoordinates&, const GeometryCoordinates&);
bool polygonIntersectsMultiPolygon(const GeometryCoordinates&, const GeometryCollection&);

} // namespace util
} // namespace mbgl