Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Triangulation_3 input

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Triangulation_3 input


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Triangulation_3 input
  • Date: Sun, 23 Nov 2008 18:25:31 +0100



As I understand it, GGAL::Random_points_on_sphere_3<CGAL_Point> generates points IN a sphere, rather than only ON the surface of a sphere.

from the manual

The class Random_points_in_sphere_3<Point_3, Creator> is an input iterator creating points uniformly distributed in an open sphere.

The class Random_points_on_sphere_3<Point_3, Creator> is an input iterator creating points uniformly distributed on a sphere.


of course with inexact constructions the points are not really on the sphere, they are on the sphere
up to rounding errors.



Archive powered by MHonArc 2.6.16.

Top of Page