Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to generate a 3D cloud of points (x,y,z)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to generate a 3D cloud of points (x,y,z)


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] How to generate a 3D cloud of points (x,y,z)
  • Date: Fri, 20 Jul 2007 11:15:00 -0400

Yes. That is exactly what I needed. Thanks,
Ed

Quoting
:

In the CGAL manual :

Chapter 58
Geometric Object Generators
...
For 3D points, input iterators are provided for random points uniformly
distributed in a sphere (Random_points_in_sphere_3) or cube
(Random_points_in_cube_3) or on the boundary of a sphere
(Random_points_on_sphere_3). For generating 3D grid points, we provide
the function points_on_cube_grid_3 that writes to an output iterator.

I think that's what you're looking for,
Laurent


Le Thu, 19 Jul 2007 21:19:08 -0400,

a écrit :

Let my clarify...

I want to generate a random distribution of 3D points that lie
within a user specified boundary....

Thanks,
Ed

Quoting
:

> I want to generate a 3D cloud of points (x,y,z) that fall within
> a Sphere of radius R, or within the boundaries, +-Xmax, +-YMax,
> +-Zmax. I have seen the example random_generate_point_set, but
> this only generates points in 2D. How do I generate points in 3D?
>
> Thanks,
> Ed
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page