mirror of https://github.com/CGAL/cgal
Replace #include by forward declarations.
This commit is contained in:
parent
d4acf5afb8
commit
dcc78e85d2
|
|
@ -23,17 +23,61 @@
|
||||||
|
|
||||||
#include <CGAL/Functors_for_face_graph_wrapper.h>
|
#include <CGAL/Functors_for_face_graph_wrapper.h>
|
||||||
#include <CGAL/Iterators_for_face_graph_wrapper.h>
|
#include <CGAL/Iterators_for_face_graph_wrapper.h>
|
||||||
#include <CGAL/Combinatorial_map.h>
|
|
||||||
#include <CGAL/Linear_cell_complex_for_combinatorial_map.h>
|
|
||||||
#include <CGAL/Generalized_map.h>
|
|
||||||
#include <CGAL/Linear_cell_complex_for_combinatorial_map.h>
|
|
||||||
#include <CGAL/Linear_cell_complex_for_generalized_map.h>
|
|
||||||
#include <CGAL/Surface_mesh.h>
|
|
||||||
#include <CGAL/Polyhedron_3.h>
|
|
||||||
#include <CGAL/Polygonal_schema.h>
|
|
||||||
|
|
||||||
namespace CGAL
|
namespace CGAL
|
||||||
{
|
{
|
||||||
|
// Forward declarations of all classes model of Face_graph
|
||||||
|
template <unsigned int d, typename Refs, typename Items, typename Alloc,
|
||||||
|
typename Storage>
|
||||||
|
class Combinatorial_map_base;
|
||||||
|
|
||||||
|
template <unsigned int d, typename Refs, typename Items, typename Alloc,
|
||||||
|
typename Storage>
|
||||||
|
class Generalized_map_base;
|
||||||
|
|
||||||
|
template <unsigned int d, unsigned int d2, typename Traits, typename Items,
|
||||||
|
typename Alloc,
|
||||||
|
template<unsigned int,class,class,class,class>
|
||||||
|
class Map, typename Refs, typename Storage>
|
||||||
|
class Linear_cell_complex_base;
|
||||||
|
|
||||||
|
template <unsigned int d, typename Items, typename Alloc,
|
||||||
|
typename Storage>
|
||||||
|
class Combinatorial_map;
|
||||||
|
|
||||||
|
template <unsigned int d, typename Items, typename Alloc,
|
||||||
|
typename Storage>
|
||||||
|
class Generalized_map;
|
||||||
|
|
||||||
|
template <unsigned int d, unsigned int d2, typename Traits, typename Items,
|
||||||
|
typename Alloc,
|
||||||
|
template<unsigned int,class,class,class,class>
|
||||||
|
class Map, typename Storage>
|
||||||
|
class Linear_cell_complex_for_combinatorial_map;
|
||||||
|
|
||||||
|
template <unsigned int d, unsigned int d2, typename Traits, typename Items,
|
||||||
|
typename Alloc,
|
||||||
|
template<unsigned int,class,class,class,class>
|
||||||
|
class Map, typename Storage>
|
||||||
|
class Linear_cell_complex_for_generalized_map;
|
||||||
|
|
||||||
|
template<class P>
|
||||||
|
class Surface_mesh;
|
||||||
|
|
||||||
|
template<class PolyhedronTraits_3,
|
||||||
|
class PolyhedronItems_3,
|
||||||
|
template<class T, class I, class A> class T_HDS,
|
||||||
|
class Alloc>
|
||||||
|
struct Polyhedron_3;
|
||||||
|
|
||||||
|
namespace Surface_mesh_topology
|
||||||
|
{
|
||||||
|
template <typename Items, typename Alloc, typename Storage>
|
||||||
|
class Polygonal_schema_with_combinatorial_map;
|
||||||
|
|
||||||
|
template <typename Items, typename Alloc, typename Storage>
|
||||||
|
class Polygonal_schema_with_generalized_map;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/** Class Face_graph_wrapper: to wrap any model of FaceGraph into a Combinatorial map.
|
/** Class Face_graph_wrapper: to wrap any model of FaceGraph into a Combinatorial map.
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#ifdef CGAL_USE_BASIC_VIEWER
|
#ifdef CGAL_USE_BASIC_VIEWER
|
||||||
|
|
||||||
|
#include <CGAL/Linear_cell_complex_operations.h>
|
||||||
#include <CGAL/Random.h>
|
#include <CGAL/Random.h>
|
||||||
|
|
||||||
namespace CGAL
|
namespace CGAL
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@ void draw(const SM& amesh,
|
||||||
#if defined(CGAL_TEST_SUITE)
|
#if defined(CGAL_TEST_SUITE)
|
||||||
bool cgal_test_suite=true;
|
bool cgal_test_suite=true;
|
||||||
#else
|
#else
|
||||||
bool cgal_test_suite=false;
|
bool cgal_test_suite=qEnvironmentVariableIsSet("CGAL_TEST_SUITE");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!cgal_test_suite)
|
if (!cgal_test_suite)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue