Subject: CGAL users discussion list
List archive
- From: srbehera <>
- To:
- Subject: [cgal-discuss] Re: Random points on the sphere
- Date: Sat, 2 Oct 2010 09:59:28 -0700 (PDT)
Marc Glisse wrote:
>
> On Fri, 1 Oct 2010, srbehera wrote:
>
>> Random_points_in_sphere_3 gives the points inside a sphere . Is there any
>> functions which returns the random points on the surface of shere?
>
> Hello,
>
> did you try replacing _in_ with _on_ in the name of the generator?
> (it is in the "See Also" section of the documentation of
> Random_points_in_sphere_3)
>
> --
> Marc Glisse
>
> --
>
Yes Random_points_on_sphere_3 is supposed to return points on the sphere
But I tried the following syntax and it is returning points inside the
sphere
CGAL::Random_points_on_sphere_3<Point_3, Creator> gen(20);
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Random-points-on-the-sphere-tp2952009p2952573.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Random points on the sphere, srbehera, 10/02/2010
- Re: [cgal-discuss] Random points on the sphere, Daniel Duque, 10/02/2010
- Re: [cgal-discuss] Random points on the sphere, D Haley, 10/02/2010
- Re: [cgal-discuss] Random points on the sphere, Marc Glisse, 10/02/2010
- [cgal-discuss] Re: Random points on the sphere, srbehera, 10/02/2010
- Re: [cgal-discuss] Random points on the sphere, Daniel Duque, 10/02/2010
Archive powered by MHonArc 2.6.16.