From cdb365613bcaba6b878f4c593245678b61edb3f0 Mon Sep 17 00:00:00 2001 From: Pedro Machado Manhaes de Castro Date: Thu, 26 Jun 2008 14:25:54 +0000 Subject: [PATCH] Fixing Lazy for Circle_3 --- Cartesian_kernel/include/CGAL/Cartesian/Circle_3.h | 2 ++ Cartesian_kernel/include/CGAL/Cartesian_converter.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cartesian_kernel/include/CGAL/Cartesian/Circle_3.h b/Cartesian_kernel/include/CGAL/Cartesian/Circle_3.h index 8791637e0e8..6f29467c6db 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian/Circle_3.h +++ b/Cartesian_kernel/include/CGAL/Cartesian/Circle_3.h @@ -92,6 +92,8 @@ public: } } + CircleC3(const Plane_3 &p, const Sphere_3 &s, int) : base(s, p) {} + CircleC3(const Plane_3 &p, const Sphere_3 &s) { Object obj = R().intersect_3_object()(p, s); // s1,s2 must intersect diff --git a/Cartesian_kernel/include/CGAL/Cartesian_converter.h b/Cartesian_kernel/include/CGAL/Cartesian_converter.h index 56971ea5f99..e01a8101550 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian_converter.h +++ b/Cartesian_kernel/include/CGAL/Cartesian_converter.h @@ -252,7 +252,7 @@ public: { typedef typename K2::Circle_3 Circle_3; return Circle_3(operator()(a.diametral_sphere()), - operator()(a.supporting_plane())); + operator()(a.supporting_plane()),1); } typename K2::Triangle_3