[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;
This commit is contained in:
Menelaos Karavelas
2014-05-09 09:33:32 +03:00
parent 0a69813111
commit 5777fd5b8d

View File

@@ -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