Temporary workaround until Boost::Geometry::Utils 0.14 is available

This commit is contained in:
Alessandro Ranellucci 2013-06-16 15:11:39 +02:00
parent d4242ad0a4
commit 32aafd2eb9

View File

@ -117,7 +117,7 @@ sub fill_surface {
@{ Boost::Geometry::Utils::multi_polygon_multi_linestring_intersection(
[ $surface->expolygon->offset_ex(scaled_epsilon) ],
[ @paths ],
) };
) } if @paths; # this temporary check is a workaround for the multilinestring bug in B::G::U
}
return { flow_spacing => $params{flow_spacing} }, @paths;