diff options
author | Marius Kintel <marius@kintel.net> | 2012-02-03 22:06:16 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-02-03 22:06:16 (GMT) |
commit | c2c67f2eacd74b560c5c5a428e8a0a7bae4fd55a (patch) | |
tree | e37581784d32d5daa1592715ec311988fe6fadd9 /src/export.h | |
parent | cb363df358a70a1f366085773d13a3875a1ceda5 (diff) |
Added debug function for exporting a PolySet to STL
Diffstat (limited to 'src/export.h')
-rw-r--r-- | src/export.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/export.h b/src/export.h index 9750c30..3897be0 100644 --- a/src/export.h +++ b/src/export.h @@ -1,13 +1,18 @@ #ifndef EXPORT_H_ #define EXPORT_H_ -#ifdef ENABLE_CGAL - #include <iostream> +#ifdef ENABLE_CGAL + void export_stl(class CGAL_Nef_polyhedron *root_N, std::ostream &output); void export_off(CGAL_Nef_polyhedron *root_N, std::ostream &output); void export_dxf(CGAL_Nef_polyhedron *root_N, std::ostream &output); + +#endif + +#ifdef DEBUG +void export_stl(const class PolySet &ps, std::ostream &output); #endif #endif |