// Copyright (c) 2009 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // You can redistribute it and/or modify it under the terms of the GNU // General Public License as published by the Free Software Foundation, // either version 3 of the License, or (at your option) any later version. // // Licensees holding a valid commercial license may use this file in // accordance with the commercial license agreement provided with the software. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // // $URL$ // $Id$ // // Author(s) : Sylvain Pion #ifndef CGAL_INTERNAL_DELAUNAY_TRIANGULATION_HIERARCHY_3_H #define CGAL_INTERNAL_DELAUNAY_TRIANGULATION_HIERARCHY_3_H #if !defined CGAL_DELAUNAY_TRIANGULATION_3_H # error "Other header files need to be included first..." #endif #include namespace CGAL { // Specializations of Delaunay_triangulation_3 for Fast_location, // as 2nd as well as 3rd positions (deduced parameter). #define CGAL_TDS_3 \ typename Default::Get,\ Triangulation_cell_base_3 > >::type template < class Gt, class Tds_ > class Delaunay_triangulation_3 : public Triangulation_hierarchy_3 >::Other> > { typedef Triangulation_hierarchy_3 >::Other> > Base; public: Delaunay_triangulation_3(const Gt& traits = Gt()) : Base(traits) {} template < typename InputIterator > Delaunay_triangulation_3(InputIterator first, InputIterator last, const Gt& traits = Gt()) : Base(first, last, traits) {} }; #undef CGAL_TDS_3 template < class Gt, class Tds_ > class Delaunay_triangulation_3 : public Delaunay_triangulation_3 { typedef Delaunay_triangulation_3 Base; public: Delaunay_triangulation_3(const Gt& traits = Gt()) : Base(traits) {} template < typename InputIterator > Delaunay_triangulation_3(InputIterator first, InputIterator last, const Gt& traits = Gt()) : Base(first, last, traits) {} }; // 2 cases for Location_policy<> in 2nd position. template < class Gt > class Delaunay_triangulation_3 : public Triangulation_hierarchy_3 >, Triangulation_cell_base_3 > > > { typedef Triangulation_hierarchy_3 >, Triangulation_cell_base_3 > > > Base; public: Delaunay_triangulation_3(const Gt& traits = Gt()) : Base(traits) {} template < typename InputIterator > Delaunay_triangulation_3(InputIterator first, InputIterator last, const Gt& traits = Gt()) : Base(first, last, traits) {} }; template < class Gt > class Delaunay_triangulation_3 : public Delaunay_triangulation_3 { typedef Delaunay_triangulation_3 Base; public: Delaunay_triangulation_3(const Gt& traits = Gt()) : Base(traits) {} template < typename InputIterator > Delaunay_triangulation_3(InputIterator first, InputIterator last, const Gt& traits = Gt()) : Base(first, last, traits) {} }; } // namespace CGAL #endif // CGAL_INTERNAL_DELAUNAY_TRIANGULATION_HIERARCHY_3_H