From a7dc0aaa5ac1e09f39d59a6c94e2ca8e34bda7d1 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Fri, 5 Mar 2004 16:25:37 +0000 Subject: [PATCH] fixed bug in visualizing the optimization ellipse --- .../include/CGAL/IO/Qt_widget_Optimisation_ellipse_2.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Packages/Qt_widget/include/CGAL/IO/Qt_widget_Optimisation_ellipse_2.h b/Packages/Qt_widget/include/CGAL/IO/Qt_widget_Optimisation_ellipse_2.h index ff0cdd6981a..bba5426f8ec 100644 --- a/Packages/Qt_widget/include/CGAL/IO/Qt_widget_Optimisation_ellipse_2.h +++ b/Packages/Qt_widget/include/CGAL/IO/Qt_widget_Optimisation_ellipse_2.h @@ -57,7 +57,13 @@ operator << ( Qt_widget &ws, case 3: case 4: case 5: - ws << oe.to_double(); + { + typedef CGAL::Conic_2 > + DoubleConic_2; + DoubleConic_2 dc2; + oe.double_conic(dc2); + ws << dc2; + } break; default: CGAL_optimisation_assertion( ( oe.n_boundary_points >= 0) &&