From 48909a6a246e45095acd19c528db37aa5e7df5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 13 Oct 2009 08:35:40 +0000 Subject: [PATCH] add operator() for one point to Compare_squared_radius --- Cartesian_kernel/include/CGAL/Cartesian/function_objects.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h b/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h index fb9b023ea62..66c18644bed 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h +++ b/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h @@ -498,6 +498,12 @@ namespace CartesianKernelFunctors { q.x(), q.y(), q.z() ), ft); } + + result_type + operator()(const Point_3&, const FT& ft) const + { + return - CGAL_NTS sign(ft); + } };