From 5777fd5b8d49552cced5c99e0cda2af3ec6a13b4 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Fri, 9 May 2014 09:33:32 +0300 Subject: [PATCH] [overlay] the specialization of intersection_insert for linestring/box computes the intersection, but pretends as if it works for difference as well; quick fix: further specialize this specialization of intersection insert so that it works only for overlay_intersection; problem and quick fix related to boost trac ticket #10019; --- .../geometry/algorithms/detail/overlay/intersection_insert.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp b/include/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp index 173639e9a..a13a62745 100644 --- a/include/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp @@ -393,14 +393,13 @@ template < typename Linestring, typename Box, typename GeometryOut, - overlay_type OverlayType, bool Reverse1, bool Reverse2, bool ReverseOut > struct intersection_insert < Linestring, Box, GeometryOut, - OverlayType, + overlay_intersection, Reverse1, Reverse2, ReverseOut, linestring_tag, box_tag, linestring_tag, false, true, false