summaryrefslogtreecommitdiff
path: root/src/cgalfwd.h
blob: 3fad608d4bf6b25c85301c615c6dc22a0874468d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef CGALFWD_H_
#define CGALFWD_H_

#ifndef CGAL_FORWARD
#include "cgal.h"
#else
#ifdef ENABLE_CGAL

#include <memory>

namespace CGAL { 
	class Gmpq;
	template <class T> class Extended_cartesian;
	class HDS_items;
  template <class A, typename Items_, typename Mark_> class Nef_polyhedron_2;
}
typedef CGAL::Gmpq NT;
typedef CGAL::Extended_cartesian<NT> CGAL_Kernel2;
typedef CGAL::Nef_polyhedron_2<CGAL_Kernel2, CGAL::HDS_items, bool> CGAL_Nef_polyhedron2;
	
namespace CGAL { 
	template <class T> class Cartesian;
	template<class T> struct Default_items;
	class SNC_indexed_items;
	template <typename Kernel_, typename Items_, typename Mark_> class Nef_polyhedron_3;
}
typedef CGAL::Cartesian<NT> CGAL_Kernel3;
typedef CGAL::Nef_polyhedron_3<CGAL_Kernel3, CGAL::SNC_indexed_items, bool> CGAL_Nef_polyhedron3;

namespace CGAL {
#ifndef CGAL_ALLOCATOR
#  define CGAL_ALLOCATOR(T) std::allocator< T >
#endif
	class HalfedgeDS_items_2;
	template <class Traits_, class HalfedgeDSItems, class Alloc> class HalfedgeDS_default;
	class Polyhedron_items_3;
	template <class PolyhedronTraits_3, class PolyhedronItems_3, class T_HDS, class Alloc> class Polyhedron_3;
}
typedef CGAL::Polyhedron_3<CGAL_Kernel3, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_default<CGAL_Kernel3, CGAL::HalfedgeDS_items_2, CGAL_ALLOCATOR(int)>, CGAL_ALLOCATOR(int)> CGAL_Polyhedron;

#endif /* ENABLE_CGAL */

#endif

#endif
contact: Jan Huwald // Impressum