diff --git a/Homogeneous_kernel/include/CGAL/Homogeneous/function_objects.h b/Homogeneous_kernel/include/CGAL/Homogeneous/function_objects.h index f4222bebe44..b05726029fa 100644 --- a/Homogeneous_kernel/include/CGAL/Homogeneous/function_objects.h +++ b/Homogeneous_kernel/include/CGAL/Homogeneous/function_objects.h @@ -715,6 +715,12 @@ namespace HomogeneousKernelFunctors { { return CGAL_NTS compare(squared_distance(p, q), d2); } + + result_type + operator()(const Point_3& p, const Point_3& q, const Point_3& r, const Point_3& s) const + { + return CGAL_NTS compare(squared_distance(p, q), squared_distance(r, s)); + } }; template