BWAPI
|
00001 // Copyright (c) 2005-2006 INRIA Sophia-Antipolis (France). 00002 // All rights reserved. 00003 // 00004 // This file is part of CGAL (www.cgal.org); you may redistribute it under 00005 // the terms of the Q Public License version 1.0. 00006 // See the file LICENSE.QPL distributed with CGAL. 00007 // 00008 // Licensees holding a valid commercial license may use this file in 00009 // accordance with the commercial license agreement provided with the software. 00010 // 00011 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 // 00014 // Partially supported by the IST Programme of the EU as a Shared-cost 00015 // RTD (FET Open) Project under Contract No IST-2000-26473 00016 // (ECG - Effective Computational Geometry for Curves and Surfaces) 00017 // and a STREP (FET Open) Project under Contract No IST-006413 00018 // (ACS -- Algorithms for Complex Shapes) 00019 // 00020 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Algebraic_kernel_for_spheres/include/CGAL/global_functions_on_roots_and_polynomials_1_3.h $ 00021 // $Id: global_functions_on_roots_and_polynomials_1_3.h 46224 2008-10-13 11:22:46Z pmachado $ 00022 // 00023 // Author(s) : Monique Teillaud <Monique.Teillaud@sophia.inria.fr> 00024 // Sylvain Pion 00025 // Pedro Machado 00026 // Julien Hazebrouck 00027 // Damien Leroy 00028 00029 #ifndef CGAL_CURVED_KERNEL_GLOBAL_FUNCTIONS_ON_ROOTS_AND_POLYNOMIALS_1_3_H 00030 #define CGAL_CURVED_KERNEL_GLOBAL_FUNCTIONS_ON_ROOTS_AND_POLYNOMIALS_1_3_H 00031 00032 CGAL_BEGIN_NAMESPACE 00033 00034 template < class AK > 00035 inline 00036 typename AK::Polynomial_1_3 00037 construct_polynomial_1_3(const typename AK::FT& a, 00038 const typename AK::FT& b, 00039 const typename AK::FT& c, 00040 const typename AK::FT& d) 00041 { return AK().construct_polynomial_1_3_object()(a, b, c, d); } 00042 00043 template < class AK > 00044 inline 00045 typename AK::Polynomials_for_line_3 00046 construct_polynomials_for_line_3(const typename AK::FT& a1, 00047 const typename AK::FT& b1, 00048 const typename AK::FT& a2, 00049 const typename AK::FT& b2, 00050 const typename AK::FT& a3, 00051 const typename AK::FT& b3) 00052 { return AK().construct_polynomials_for_line_3_object()(a1, b1, a2, b2, a3, b3); } 00053 00054 CGAL_END_NAMESPACE 00055 00056 #endif // CGAL_CURVED_KERNEL_GLOBAL_FUNCTIONS_ON_ROOTS_AND_POLYNOMIALS_1_3_H