summaryrefslogtreecommitdiff
path: root/src/cgalfwd.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-07 20:04:59 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-07 20:04:59 (GMT)
commit27a99044d8388ff30080bd0298eb936b8dd1341a (patch)
treeddc03a541c8a9708ac76581706188700f445abbc /src/cgalfwd.h
parent75784844eaad1aa77757eb7640547146e0a96209 (diff)
Implemented OFF import, refactored PolySet/Polyhedron conversion
Diffstat (limited to 'src/cgalfwd.h')
-rw-r--r--src/cgalfwd.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cgalfwd.h b/src/cgalfwd.h
index df9b9e2..3fad608 100644
--- a/src/cgalfwd.h
+++ b/src/cgalfwd.h
@@ -1,8 +1,13 @@
#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;
@@ -22,6 +27,19 @@ namespace CGAL {
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