static inline void apply(Point1 const& point1, Point2 const& point2, Strategy const& strategy, Result& result) { result.real_distance = result.projected_distance1 = result.projected_distance2 = strategy.apply_point_point(point1, point2); // The projected point makes not really sense in point-point. // We just assign one on the other geometry::convert(point1, result.projected_point2); geometry::convert(point2, result.projected_point1); }