From b86fa4fe8a6a6520226a0b91a73d1ef4280a45de Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Sat, 11 Feb 2012 14:52:43 +0000 Subject: [PATCH] Boost.Geometry fix, point_in_ring should get strategy, and included covered_by for multi (belongs to last fix) [SVN r76977] --- include/boost/geometry/algorithms/covered_by.hpp | 4 ++-- include/boost/geometry/multi/algorithms/intersection.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/geometry/algorithms/covered_by.hpp b/include/boost/geometry/algorithms/covered_by.hpp index 36e880bc9..c3c406c4c 100644 --- a/include/boost/geometry/algorithms/covered_by.hpp +++ b/include/boost/geometry/algorithms/covered_by.hpp @@ -68,7 +68,7 @@ template struct covered_by { template - static inline bool apply(Point const& point, Ring const& ring, Strategy const& ) + static inline bool apply(Point const& point, Ring const& ring, Strategy const& strategy) { return detail::within::point_in_ring < @@ -77,7 +77,7 @@ struct covered_by order_as_direction::value>::value, geometry::closure::value, Strategy - >::apply(point, ring) >= 0; + >::apply(point, ring, strategy) >= 0; } }; diff --git a/include/boost/geometry/multi/algorithms/intersection.hpp b/include/boost/geometry/multi/algorithms/intersection.hpp index e50292e60..31e74a79b 100644 --- a/include/boost/geometry/multi/algorithms/intersection.hpp +++ b/include/boost/geometry/multi/algorithms/intersection.hpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include