From 47407fc901e61bb74ff604cc09bc3bd1acbbcaae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 26 Mar 2026 17:49:51 +0100 Subject: [PATCH] simply implementation --- Kernel_23/include/CGAL/Kernel/function_objects.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel_23/include/CGAL/Kernel/function_objects.h b/Kernel_23/include/CGAL/Kernel/function_objects.h index c6da75f5181..4efb846b28c 100644 --- a/Kernel_23/include/CGAL/Kernel/function_objects.h +++ b/Kernel_23/include/CGAL/Kernel/function_objects.h @@ -201,8 +201,7 @@ namespace CommonKernelFunctors { { typename K::Compute_scalar_product_3 scalar_product = K().compute_scalar_product_3_object(); typename K::Construct_vector_3 construct_vector = K().construct_vector_3_object(); - return CGAL::compare(scalar_product(construct_vector(ORIGIN, p), construct_vector(dir)), - scalar_product(construct_vector(ORIGIN, q), construct_vector(dir))); + return CGAL::sign(scalar_product(construct_vector(q, p), construct_vector(dir))); } };