Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] min_sphere_d & min_sphere_of_spheres_d

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] min_sphere_d & min_sphere_of_spheres_d


Chronological Thread 
  • From: Bernd Gaertner <>
  • To: <>
  • Subject: Re: [cgal-discuss] min_sphere_d & min_sphere_of_spheres_d
  • Date: Thu, 1 Oct 2009 11:19:46 +0200

David Scriven wrote:
In the description of min_sphere_d it suggests that one use
min_sphere_of_spheres_d instead
as it is "has a specialized implementation for floating-point arithmetic which
ensures correct results in a large number of cases (including highly
degenerate
ones)", which is exactly the case I have - trying to find the minimum sphere
surrounding a collection of Cartesian points (described as doubles) in 3
space.
However, I can't see how to enter a point set as an argument for min_sphere_of_spheres_d. Is there an example I can look at? I'm running version
3.3.1 on Linux Fedora 11.

The manual page http://www.cgal.org/Manual/last/doc_html/cgal_manual/Bounding_volumes_ref/Class_Min_sphere_of_spheres_d.html#Cross_link_anchor_1493 concludes with an example. If you comment out the current typedef to FT and comment in the one for double, you have the specialized double version.

Best,
Bernd.



  • Re: [cgal-discuss] min_sphere_d & min_sphere_of_spheres_d, Bernd Gaertner, 10/01/2009

Archive powered by MHonArc 2.6.16.

Top of Page