From f7a57a6c41a289e4905c29761304b8b38dbaf946 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 17 Jan 2025 10:16:08 +0000 Subject: [PATCH] Add smaller failing issue --- Nef_3/test/Nef_3/issue8644bis.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Nef_3/test/Nef_3/issue8644bis.cpp diff --git a/Nef_3/test/Nef_3/issue8644bis.cpp b/Nef_3/test/Nef_3/issue8644bis.cpp new file mode 100644 index 00000000000..f419094bfc6 --- /dev/null +++ b/Nef_3/test/Nef_3/issue8644bis.cpp @@ -0,0 +1,18 @@ +#include +#include +#include + +using Kernel = CGAL::Extended_cartesian; +using Nef = CGAL::Nef_polyhedron_3; + +int main(int argc, char ** argv) +{ + Nef hspace_1(Nef::Plane_3(1.0, 0.0, 0.0, 0.0), Nef::INCLUDED); + Nef hspace_2(Nef::Plane_3(1.0, 0.0, 0.0, 1.0), Nef::INCLUDED); + Nef hspace_3(Nef::Plane_3(0.0, 0.0, 1.0, 1.0), Nef::INCLUDED); + + Nef intersection_1 = hspace_1*hspace_2; // Line 14. Works fine. + Nef intersection_2 = hspace_2*hspace_3; // Line 15. Assertion failure. + + return 0; +}