BWAPI
|
00001 // Copyright (c) 1997 ETH Zurich (Switzerland). 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/Polyhedron/include/CGAL/Polyhedron_traits_3.h $ 00015 // $Id: Polyhedron_traits_3.h 41435 2008-01-03 19:05:31Z spion $ 00016 // 00017 // 00018 // Author(s) : Lutz Kettner <kettner@mpi-sb.mpg.de>) 00019 00020 #ifndef CGAL_POLYHEDRON_TRAITS_3_H 00021 #define CGAL_POLYHEDRON_TRAITS_3_H 1 00022 00023 #include <CGAL/basic.h> 00024 00025 CGAL_BEGIN_NAMESPACE 00026 00027 template < class Kernel_ > 00028 class Polyhedron_traits_3 { 00029 public: 00030 typedef Kernel_ Kernel; 00031 typedef typename Kernel::Point_3 Point_3; 00032 typedef typename Kernel::Plane_3 Plane_3; 00033 00034 typedef typename Kernel::Construct_opposite_plane_3 00035 Construct_opposite_plane_3; 00036 private: 00037 Kernel m_kernel; 00038 00039 public: 00040 Polyhedron_traits_3() {} 00041 Polyhedron_traits_3( const Kernel& kernel) : m_kernel(kernel) {} 00042 00043 Construct_opposite_plane_3 construct_opposite_plane_3_object() const { 00044 return m_kernel.construct_opposite_plane_3_object(); 00045 } 00046 }; 00047 00048 CGAL_END_NAMESPACE 00049 00050 #endif // CGAL_POLYHEDRON_TRAITS_3_H //