From 13fa3efc6558e6b9cfc8dd31e8d37ceae6669743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 21 Apr 2017 11:38:36 +0200 Subject: [PATCH] Removed obsolete and unused include in Alpha_shapes_2, see bb086ff The fact that power_side_of_bounded_power_circle_2 was not in the kernel and this include was not used means that weighted alpha shapes 2 are bugged (they ignore weights and only call side_of_bounded_sphere()). This will be fixed when implicit conversions are removed. --- .../in_smallest_orthogonalcircle_ftC2.h | 56 ------------------- 1 file changed, 56 deletions(-) delete mode 100644 Alpha_shapes_2/include/CGAL/predicates/in_smallest_orthogonalcircle_ftC2.h diff --git a/Alpha_shapes_2/include/CGAL/predicates/in_smallest_orthogonalcircle_ftC2.h b/Alpha_shapes_2/include/CGAL/predicates/in_smallest_orthogonalcircle_ftC2.h deleted file mode 100644 index 95ecd0140cc..00000000000 --- a/Alpha_shapes_2/include/CGAL/predicates/in_smallest_orthogonalcircle_ftC2.h +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) 1997 INRIA Sophia-Antipolis (France). -// All rights reserved. -// -// This file is part of CGAL (www.cgal.org). -// You can redistribute it and/or modify it under the terms of the GNU -// General Public License as published by the Free Software Foundation, -// either version 3 of the License, or (at your option) any later version. -// -// Licensees holding a valid commercial license may use this file in -// accordance with the commercial license agreement provided with the software. -// -// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -// -// $URL$ -// $Id$ -// -// -// Author(s) : Tran Kai Frank DA - -#ifndef CGAL_IN_SMALLEST_ORTHOGONALCIRCLE_FTC2_H -#define CGAL_IN_SMALLEST_ORTHOGONALCIRCLE_FTC2_H - -#include - - -#include -#include - -//------------------------------------------------------------------- -namespace CGAL { -//------------------------------------------------------------------- - -template< class FT > -CGAL_MEDIUM_INLINE -Bounded_side -in_smallest_orthogonalcircleC2(const FT &px, const FT &py, const FT &pw, - const FT &qx, const FT &qy, const FT &qw, - const FT &tx, const FT &ty, const FT &tw) -{ - FT dpx = px-qx; - FT dpy = py-qy; - FT dtx = tx-qx; - FT dty = ty-qy; - FT dpz = CGAL_NTS square(dpx)+CGAL_NTS square(dpy); - - return Bounded_side - (CGAL_NTS sign(-(CGAL_NTS square(dtx)+CGAL_NTS square(dty)-tw+qw)*dpz - +(dpz-pw+qw)*(dpx*dtx+dpy*dty))); -} - -//------------------------------------------------------------------- -} //namespace CGAL -//------------------------------------------------------------------- - -#endif //CGAL_IN_SMALLEST_ORTHOGONALCIRCLEC2_H