assign second point
This commit is contained in:
parent
f210699884
commit
afb2af84f7
1 changed files with 1 additions and 3 deletions
|
@ -51,9 +51,7 @@ struct point_point
|
||||||
{
|
{
|
||||||
result.distance
|
result.distance
|
||||||
= strategy.apply_point_point(point1, point2);
|
= strategy.apply_point_point(point1, point2);
|
||||||
// The projected point makes not really sense in point-point.
|
geometry::convert(point2, result.closest_point);
|
||||||
// We just assign one on the other
|
|
||||||
geometry::convert(point1, result.closest_point);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue