BWAPI
|
00001 // Copyright (c) 2006 Tel-Aviv University (Israel). 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/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_polyhedral_sgm_traits.h $ 00015 // $Id: Arr_polyhedral_sgm_traits.h 49062 2009-04-30 16:02:11Z efif $ 00016 // 00017 // 00018 // Author(s) : Efi Fogel <efif@post.tau.ac.il> 00019 00020 #ifndef CGAL_ARR_POLYHEDRAL_SGM_TRAITS_H 00021 #define CGAL_ARR_POLYHEDRAL_SGM_TRAITS_H 00022 00023 #include <CGAL/basic.h> 00024 #include <CGAL/Arr_geodesic_arc_on_sphere_traits_2.h> 00025 00026 #if defined(CGAL_ARR_TRACING_TRAITS) 00027 #include "CGAL/Arr_tracing_traits_2.h" 00028 #elif defined(CGAL_COUNTING_TRAITS) 00029 #include "CGAL/Arr_counting_traits_2.h" 00030 #endif 00031 00032 CGAL_BEGIN_NAMESPACE 00033 00050 template <typename T_Kernel> 00051 class Arr_polyhedral_sgm_traits : 00052 #if defined(CGAL_ARR_TRACING_TRAITS) 00053 public Arr_tracing_traits_2<Arr_geodesic_arc_on_sphere_traits_2<T_Kernel> > 00054 #elif defined(CGAL_ARR_COUNTING_TRAITS) 00055 public Arr_counting_traits_2<Arr_geodesic_arc_on_sphere_traits_2<T_Kernel> > 00056 #else 00057 public Arr_geodesic_arc_on_sphere_traits_2<T_Kernel> 00058 #endif 00059 { 00060 public: 00061 typedef T_Kernel Kernel; 00062 typedef typename Kernel::Point_3 Point_3; 00063 typedef typename Kernel::Vector_3 Vector_3; 00064 00065 protected: 00066 #if defined(CGAL_ARR_TRACING_TRAITS) 00067 typedef Arr_tracing_traits_2<Arr_geodesic_arc_on_sphere_traits_2<Kernel> > 00068 Base; 00069 #elif defined(CGAL_ARR_COUNTING_TRAITS) 00070 typedef Arr_counting_traits_2<Arr_geodesic_arc_on_sphere_traits_2<Kernel> > 00071 Base; 00072 #else 00073 typedef Arr_geodesic_arc_on_sphere_traits_2<Kernel> Base; 00074 #endif 00075 00076 public: 00077 }; 00078 00079 CGAL_END_NAMESPACE 00080 00081 #endif