Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Min_circle problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Min_circle problem


Chronological Thread 
  • From: Michael Hoffmann <>
  • To: ,
  • Subject: Re: [cgal-discuss] Min_circle problem
  • Date: Fri, 12 Sep 2008 09:26:17 +0200 (CEST)

There is a strange mixture of Rep and K in your code.

Note that K and NT are not used anywhere, that is, you are using plain
Cartesian<double> which doesn't give exact results.

/Michael

typedef CGAL::Cartesian<double> Rep;
typedef CGAL::Point_2<Rep> Point;

typedef CGAL::Polygon_2<Rep> Polygon ;
typedef CGAL::Gmpz NT;
typedef CGAL::Homogeneous<NT> K;
typedef CGAL::Min_circle_2_traits_2<Rep> Traits;
typedef CGAL::Min_circle_2<Traits> Min_circle;



Archive powered by MHonArc 2.6.16.

Top of Page