mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
Fix get_turn_info
Fix template parameter order in side_calculator call (would fail with different point types).
This commit is contained in:
@@ -1019,7 +1019,7 @@ struct get_turn_info
|
||||
else
|
||||
{
|
||||
// Swap p/q
|
||||
side_calculator<Point1, Point2> swapped_side_calc(qi, qj, qk, pi, pj, pk);
|
||||
side_calculator<Point2, Point1> swapped_side_calc(qi, qj, qk, pi, pj, pk);
|
||||
policy::template apply<1>(qi, qj, qk, pi, pj, pk,
|
||||
tp, result.template get<0>(), result.template get<1>(),
|
||||
swapped_side_calc);
|
||||
|
||||
Reference in New Issue
Block a user