Fix the compilation of <CGAL/Polyhedral_mesh_domain_3.h>

1. Create <CGAL/boost/graph/Graph_with_descriptor_with_graph_fwd.h>
     ... a forward-declaration header.

  2. Include the forward-declarations of `CGAL::Surface_mesher` and
  `CGAL::Graph_with_descriptor_with_graph`, so that the header compiles.
This commit is contained in:
Laurent Rineau 2017-07-28 15:39:11 +02:00
parent 7c6947b19b
commit dc7c887436
3 changed files with 32 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#include <CGAL/boost/graph/iterator.h>
#include <boost/iterator/transform_iterator.hpp>
#include <CGAL/boost/graph/Graph_with_descriptor_with_graph_fwd.h>
namespace CGAL
{

View File

@ -0,0 +1,29 @@
// Copyright (c) 2017 GeometryFactory (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) : Laurent Rineau
#ifndef CGAL_BOOST_GRAPH_GWDWG_FWD_H
#define CGAL_BOOST_GRAPH_GWDWG_FWD_H
namespace CGAL
{
template<typename Graph_>
struct Graph_with_descriptor_with_graph;
}
#endif // CGAL_BOOST_GRAPH_GWDWG_FWD_H

View File

@ -46,6 +46,8 @@
#include <CGAL/Mesh_3/Profile_counter.h>
#include <CGAL/boost/graph/helpers.h>
#include <CGAL/Mesh_3/properties.h>
#include <CGAL/Surface_mesh/Surface_mesh_fwd.h>
#include <CGAL/boost/graph/Graph_with_descriptor_with_graph_fwd.h>
#include <boost/optional.hpp>
#include <boost/none.hpp>