From fc85b868b599304cfe1617462cda0230b853073d Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Wed, 26 Mar 2014 14:17:05 +0100 Subject: [PATCH] [geometry] Fixes after merge: added rescale policy argument --- .../geometry/algorithms/detail/overlay/get_turn_info_la.hpp | 4 ++-- .../geometry/algorithms/detail/overlay/get_turn_info_ll.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp b/include/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp index 774b5eb59..7cb26ad28 100644 --- a/include/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp @@ -42,7 +42,7 @@ struct get_turn_info_linear_areal bool is_p_first, bool is_p_last, bool is_q_first, bool is_q_last, TurnInfo const& tp_model, - RescalePolicy const& , // TODO: this will be used. rescale_policy, + RescalePolicy const& rescale_policy, OutputIterator out) { typedef model::referring_segment segment_type1; @@ -63,7 +63,7 @@ struct get_turn_info_linear_areal typedef typename si::segment_intersection_strategy_type strategy; - typename strategy::return_type result = strategy::apply(p1, q1); + typename strategy::return_type result = strategy::apply(p1, q1, rescale_policy); char const method = result.template get<1>().how; diff --git a/include/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp b/include/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp index b07ac1ce6..d337dfbbf 100644 --- a/include/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp @@ -95,7 +95,7 @@ struct get_turn_info_linear_linear bool is_p_first, bool is_p_last, bool is_q_first, bool is_q_last, TurnInfo const& tp_model, - RescalePolicy const& , // TODO: this will be used. rescale_policy, + RescalePolicy const& rescale_policy, OutputIterator out) { typedef model::referring_segment segment_type1; @@ -116,7 +116,7 @@ struct get_turn_info_linear_linear typedef typename si::segment_intersection_strategy_type strategy; - typename strategy::return_type result = strategy::apply(p1, q1); + typename strategy::return_type result = strategy::apply(p1, q1, rescale_policy); char const method = result.template get<1>().how;