mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-10 23:42:12 +00:00
Merge pull request #33 from mkaravel/develop
[distance] fix bug in point-box distance computation in range-to-segment/box code
This commit is contained in:
@@ -132,7 +132,7 @@ private:
|
||||
comparable_return_type cd_min =
|
||||
strategy.apply(point, box_points[0], box_points[3]);
|
||||
|
||||
for (unsigned int i = 0; i < 2; ++i)
|
||||
for (unsigned int i = 0; i < 3; ++i)
|
||||
{
|
||||
comparable_return_type cd =
|
||||
strategy.apply(point, box_points[i], box_points[i+1]);
|
||||
|
||||
Reference in New Issue
Block a user