BWAPI
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/Exact_spherical_kernel_3.h
Go to the documentation of this file.
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/Exact_spherical_kernel_3.h $
00015 // $Id: Exact_spherical_kernel_3.h 44381 2008-07-24 09:26:28Z pmachado $
00016 //
00017 // Author(s) : Monique Teillaud, Sylvain Pion, Pedro Machado
00018 
00019 // Partially supported by the IST Programme of the EU as a 
00020 // STREP (FET Open) Project under Contract No  IST-006413 
00021 // (ACS -- Algorithms for Complex Shapes)
00022 
00023 #ifndef CGAL_EXACT_SPHERICAL_3_KERNEL_H
00024 #define CGAL_EXACT_SPHERICAL_3_KERNEL_H
00025 
00026 #include <CGAL/Cartesian.h>
00027 #include <CGAL/Algebraic_kernel_for_spheres_2_3.h>
00028 #include <CGAL/Spherical_kernel_3.h>
00029 
00030 /*
00031 TODO: CORRECT THE MAKE_ROOT_OF_2 of GMPq GMPz
00032 #ifdef CGAL_USE_GMP
00033 #  include <CGAL/Gmpq.h>
00034 #else
00035 */
00036 #  include <CGAL/MP_Float.h>
00037 #  include <CGAL/Quotient.h>
00038 /*
00039 #endif
00040 */
00041 
00042 CGAL_BEGIN_NAMESPACE
00043 
00044 /*
00045 #ifdef CGAL_USE_GMP
00046   typedef CGAL::Gmpq                                           NT1;
00047 #else
00048 */
00049   typedef CGAL::Quotient<CGAL::MP_Float>                       NT1;
00050 /*
00051 #endif
00052 */
00053   typedef CGAL::Cartesian<NT1>                                 Linear_k1;
00054   typedef CGAL::Algebraic_kernel_for_spheres_2_3<NT1>          Algebraic_k1;
00055   typedef CGAL::Spherical_kernel_3<Linear_k1,Algebraic_k1>     Exact_spherical_kernel_3;
00056 
00057 CGAL_END_NAMESPACE
00058 
00059 #endif // CGAL_EXACT_SPHERICAL_3_KERNEL_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines