summaryrefslogtreecommitdiff
path: root/src/CGAL_Nef_polyhedron.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-01 22:33:48 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-01 22:33:48 (GMT)
commit5618f5c47f83a67beee0b6f5ae4bd52e40f100ff (patch)
treec9dbca1fb2182f6876e2e1eba775b672d8e40594 /src/CGAL_Nef_polyhedron.h
parent4f7bf1819fca887f2712807077f9e497c262e9ed (diff)
parent24fbfdf9551915918f43650057fea74b1ad76286 (diff)
Merge branch 'master' of github.com:openscad/openscad into issue158
Diffstat (limited to 'src/CGAL_Nef_polyhedron.h')
-rw-r--r--src/CGAL_Nef_polyhedron.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CGAL_Nef_polyhedron.h b/src/CGAL_Nef_polyhedron.h
index 0b0784e..694b420 100644
--- a/src/CGAL_Nef_polyhedron.h
+++ b/src/CGAL_Nef_polyhedron.h
@@ -14,6 +14,7 @@ public:
~CGAL_Nef_polyhedron() {}
bool empty() const { return (dim == 0 || (!p2 && !p3)); }
+ void reset() { dim=0; p2.reset(); p3.reset(); }
CGAL_Nef_polyhedron &operator+=(const CGAL_Nef_polyhedron &other);
CGAL_Nef_polyhedron &operator*=(const CGAL_Nef_polyhedron &other);
CGAL_Nef_polyhedron &operator-=(const CGAL_Nef_polyhedron &other);
contact: Jan Huwald // Impressum