BWAPI
|
00001 // Copyright (c) 2008 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 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_plane_3.h $ 00015 // $Id: internal_functions_on_plane_3.h 44381 2008-07-24 09:26:28Z pmachado $ 00016 // 00017 // Author(s) : Monique Teillaud, Sylvain Pion, Pedro Machado, 00018 // Julien Hazebrouck, Damien Leroy 00019 00020 // Partially supported by the IST Programme of the EU as a 00021 // STREP (FET Open) Project under Contract No IST-006413 00022 // (ACS -- Algorithms for Complex Shapes) 00023 00024 #ifndef CGAL_SPHERICAL_KERNEL_PREDICATES_ON_PLANE_3_H 00025 #define CGAL_SPHERICAL_KERNEL_PREDICATES_ON_PLANE_3_H 00026 00027 namespace CGAL { 00028 namespace SphericalFunctors { 00029 00030 template < class SK > 00031 typename SK::Plane_3 00032 construct_plane_3(const typename SK::Polynomial_1_3 &eq) 00033 { 00034 typedef typename SK::Plane_3 Plane_3; 00035 return Plane_3(eq.a(),eq.b(),eq.c(),eq.d()); 00036 } 00037 00038 }//SphericalFunctors 00039 }//CGAL 00040 00041 #endif //CGAL_SPHERICAL_KERNEL_PREDICATES_ON_PLANE_3_H