diff --git a/Nef_3/doc/Nef_3/CGAL/Nef_nary_union_3.h b/Nef_3/doc/Nef_3/CGAL/Nef_nary_union_3.h index 1e271711d07..3919d156f76 100644 --- a/Nef_3/doc/Nef_3/CGAL/Nef_nary_union_3.h +++ b/Nef_3/doc/Nef_3/CGAL/Nef_nary_union_3.h @@ -38,7 +38,9 @@ Nef_nary_union_3(); /// @{ /*! -returns the union of the polyhedra previously added to the class. +returns the union of the polyhedra previously added to the class. The +union does not get removed so that further Nef polyhedra can be added +later. */ NefPolyhedron_3 get_union() const; diff --git a/Nef_3/include/CGAL/Nef_nary_intersection_3.h b/Nef_3/include/CGAL/Nef_nary_intersection_3.h index 5178705dc2f..212aeeaa990 100644 --- a/Nef_3/include/CGAL/Nef_nary_intersection_3.h +++ b/Nef_3/include/CGAL/Nef_nary_intersection_3.h @@ -56,7 +56,7 @@ class Nef_nary_intersection_3 { return empty; while(queue.size() > 1) intersect(); - inserted = 0; + inserted = 1; return queue.front(); } }; diff --git a/Nef_3/include/CGAL/Nef_nary_union_3.h b/Nef_3/include/CGAL/Nef_nary_union_3.h index c8663bb911b..8b138bac28d 100644 --- a/Nef_3/include/CGAL/Nef_nary_union_3.h +++ b/Nef_3/include/CGAL/Nef_nary_union_3.h @@ -56,7 +56,7 @@ class Nef_nary_union_3 { return empty; while(queue.size() > 1) unite(); - inserted = 0; + inserted = 1; return queue.front(); } };