From 5801bd31afe24460eb39fb2c6bafd3ff9b997690 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Sun, 27 Nov 2011 12:05:49 +0000 Subject: [PATCH] Linestring/polygon overlay, phase 9 (difference for multi) [SVN r75688] --- .../multi/algorithms/intersection.hpp | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/include/boost/geometry/multi/algorithms/intersection.hpp b/include/boost/geometry/multi/algorithms/intersection.hpp index a9e7ce6a2..15cb05371 100644 --- a/include/boost/geometry/multi/algorithms/intersection.hpp +++ b/include/boost/geometry/multi/algorithms/intersection.hpp @@ -370,6 +370,32 @@ struct intersection_insert > {}; +template +< + typename MultiLinestring, typename Polygon, + bool ReverseMultiLinestring, bool ReverseRing, bool ReverseOut, + typename OutputIterator, typename GeometryOut, + overlay_type OverlayType, + typename Strategy +> +struct intersection_insert + < + multi_linestring_tag, polygon_tag, linestring_tag, + false, true, false, + MultiLinestring, Polygon, + ReverseMultiLinestring, ReverseRing, ReverseOut, + OutputIterator, GeometryOut, + OverlayType, + Strategy + > : detail::intersection::intersection_of_multi_linestring_with_areal + < + MultiLinestring, Polygon, + ReverseRing, + OutputIterator, GeometryOut, + OverlayType, + Strategy + > +{};