diff options
Diffstat (limited to 'src/mbgl/util/geometry_within.hpp')
-rw-r--r-- | src/mbgl/util/geometry_within.hpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mbgl/util/geometry_within.hpp b/src/mbgl/util/geometry_within.hpp index fe9312cd4a..86658ecc83 100644 --- a/src/mbgl/util/geometry_within.hpp +++ b/src/mbgl/util/geometry_within.hpp @@ -3,17 +3,11 @@ namespace mbgl { -void printPolygon(const Polygon<double>& polygon); - -void printLine(const LineString<double>& lineString); - -// ray casting algorithm for detecting if point is in polygon bool pointWithinPolygon(const Point<double>& point, const Polygon<double>& polygon); bool pointWithinPolygons(const Point<double>& point, const MultiPolygon<double>& polygons); -bool lineStringWithinPolygon(const LineString<double>& lineString, - const Polygon<double>& polygon); +bool lineStringWithinPolygon(const LineString<double>& lineString, const Polygon<double>& polygon); bool lineStringWithinPolygons(const LineString<double>& line, const MultiPolygon<double>& polygons); -} +} // namespace mbgl |