assign second point

This commit is contained in:
Artem Pavlenko 2017-09-22 13:21:02 +02:00
parent f210699884
commit afb2af84f7

View file

@ -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);
} }
}; };