diff options
author | Marius Kintel <marius@kintel.net> | 2013-12-15 23:21:51 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-12-15 23:21:51 (GMT) |
commit | dced79fb2d6a4bb1bd5992e611e1c209b910f820 (patch) | |
tree | f1491a4331debb8f89098553ceeff377a4053ab3 /src/cgalutils.h | |
parent | 4fd18f6d72d3690dec11c7241a8127fe37007dec (diff) | |
parent | 446dc3d36d36ee3786615c6297a141c01ed972c0 (diff) |
Merge pull request #574 from openscad/planar
Planar - see issue #349
Diffstat (limited to 'src/cgalutils.h')
-rw-r--r-- | src/cgalutils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cgalutils.h b/src/cgalutils.h index d25fd4c..8f7e4dd 100644 --- a/src/cgalutils.h +++ b/src/cgalutils.h @@ -2,8 +2,9 @@ #define CGALUTILS_H_ #include <cgal.h> -class PolySet *createPolySetFromPolyhedron(const CGAL_Polyhedron &p); -CGAL_Polyhedron *createPolyhedronFromPolySet(const class PolySet &ps); +#include "polyset.h" +bool createPolySetFromPolyhedron(const CGAL_Polyhedron &p, PolySet &ps); +bool createPolyhedronFromPolySet(const PolySet &ps, CGAL_Polyhedron &p); CGAL_Iso_cuboid_3 bounding_box( const CGAL_Nef_polyhedron3 &N ); CGAL_Iso_rectangle_2e bounding_box( const CGAL_Nef_polyhedron2 &N ); |