diff --git a/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_debug.h b/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_debug.h index 86b2724cae3..49d807d326b 100644 --- a/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_debug.h +++ b/Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_debug.h @@ -143,7 +143,11 @@ void No_intersection_surface_sweep_2::PrintEvent(const Event* e) Arr_parameter_space x = e->parameter_space_in_x(); Arr_parameter_space y = e->parameter_space_in_y(); PrintOpenBoundaryType(x, y); - std::cout << " with open curve: " << e->curve(); + if (! e->is_isolated()) { + Arr_curve_end ce; + std::cout << " with open curve: " << e->boundary_touching_curve(ce) + << " at " << ce; + } } }