[geometry] Fixes after merge: added rescale policy argument

This commit is contained in:
Barend Gehrels
2014-03-26 14:17:05 +01:00
parent ba5ed78fd3
commit fc85b868b5
2 changed files with 4 additions and 4 deletions

View File

@@ -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<Point1 const> 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;

View File

@@ -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<Point1 const> 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;