From 88f5116094fb69b0913be3ec77471cc3ba3b19b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 25 Jun 2009 05:54:18 +0000 Subject: [PATCH] remove duplicated operator() in Has_on_3 --- .../include/CGAL/Cartesian/function_objects.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h b/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h index 80758971b53..2c461199271 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h +++ b/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h @@ -3571,22 +3571,6 @@ namespace CartesianKernelFunctors { && ((alpha+beta+gamma == FT(1))); } - result_type - operator()(const Sphere_3 &a, const Point_3 &p) const - { return a.rep().has_on_boundary(p); } - - result_type - operator()(const Sphere_3 &s, const Circle_3 &c) const - { - Point_3 proj = c.supporting_plane().projection(s.center()); - if(!(proj == c.center())) return false; - const FT d2 = CGAL::squared_distance(s.center(),c.center()); - return ((s.squared_radius() - d2) == c.squared_radius()); - } - - - - result_type operator()(const Circle_3 &a, const Point_3 &p) const { return a.rep().has_on(p); }