diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_bgl_min_items.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_bgl_min_items.h new file mode 100644 index 00000000000..57895e99006 --- /dev/null +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_bgl_min_items.h @@ -0,0 +1,43 @@ +// Copyright (c) 2017 CNRS and LIRIS' Establishments (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 Lesser 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) : Guillaume Damiand +// +#ifndef CGAL_LINEAR_CELL_COMPLEX_BGL_MIN_ITEMS_H +#define CGAL_LINEAR_CELL_COMPLEX_BGL_MIN_ITEMS_H 1 + +#include + +namespace CGAL { + + struct Linear_cell_complex_bgl_min_items + { + /// Dart_wrapper defines the type of darts used. + template + struct Dart_wrapper + { + typedef CGAL::Tag_true Darts_with_id; + typedef CGAL::Cell_attribute_with_point_and_id Vertex_attribute; + typedef CGAL::Cell_attribute_with_id Face_attribute; + typedef CGAL::cpp11::tuple Attributes; + }; + }; + +} // namespace CGAL + +#endif // CGAL_LINEAR_CELL_COMPLEX_BGL_MIN_ITEMS_H // +// EOF // diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_bgl_combinatorial_map_helper.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_bgl_combinatorial_map_helper.h index 45d24199c58..cbf68381071 100644 --- a/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_bgl_combinatorial_map_helper.h +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_for_bgl_combinatorial_map_helper.h @@ -21,9 +21,9 @@ #define CGAL_LINEAR_CELL_COMPLEX_FOR_BGL_COMBINATORIAL_MAP_H 1 #include +#include #include #include -#include namespace CGAL { @@ -33,33 +33,24 @@ namespace CGAL { * these cells have id. */ - struct Linear_cell_complex_bgl_min_items - { - /// Dart_wrapper defines the type of darts used. - template - struct Dart_wrapper - { - typedef CGAL::Tag_true Darts_with_id; - typedef CGAL::Cell_attribute_with_point_and_id Vertex_attribute; - typedef CGAL::Cell_attribute_with_id Face_attribute; - typedef CGAL::cpp11::tuple Attributes; - }; - }; - // Linear_cell_complex_for_bgl_combinatorial_map class. template < unsigned int d_, unsigned int ambient_dim = d_, class Traits_ = Linear_cell_complex_traits, - class Items_ = Linear_cell_complex_bgl_min_items, class Alloc_ = CGAL_ALLOCATOR(int), template class CMap = Combinatorial_map_base, class Storage_ = CMap_linear_cell_complex_storage_1 > - using Linear_cell_complex_for_bgl_combinatorial_map= - Linear_cell_complex_for_combinatorial_map - ; + Alloc_> > + struct Linear_cell_complex_for_bgl_combinatorial_map_helper + { + public: + /// Type of the Linear_cell_complex_for_combinatorial_map. + typedef Linear_cell_complex_for_combinatorial_map + type; + }; + } // namespace CGAL #endif // CGAL_LINEAR_CELL_COMPLEX_FOR_BGL_COMBINATORIAL_MAP_H //