Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] 3d surface mesher non deterministic
- Date: Wed, 24 Sep 2008 15:50:11 +0200
On Wednesday 24 September 2008 15:30:52
wrote:
> hi,
>
> I tried to run CGAL/examples/Surface_mesher/mesh_an_implicit_function.cpp
> and noticed that each time I run the program, the output is
> slightly different.
> The resulting mesh approximating the given geometry, in fact, has different
> points and cells.
>
> Why is this process not deterministic?
Initial points are searched randomly.
> Is there a way to make it
> deterministic?
Add "CGAL::default_random = CGAL::Random(0);" at the beginning of main().
That
should be enough.
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] 3d surface mesher non deterministic, dassifraa, 09/24/2008
- Re: [cgal-discuss] 3d surface mesher non deterministic, Laurent Rineau, 09/24/2008
- Re: Re: [cgal-discuss] 3d surface mesher non deterministic, dassifraa, 09/24/2008
- RE: [cgal-discuss] 3d surface mesher non deterministic, HAQUE, AKTER_HASNINE (GE Healthcare), 09/25/2008
- Re: [cgal-discuss] 3d surface mesher non deterministic, Laurent Rineau, 09/25/2008
- Re: [cgal-discuss] 3d surface mesher non deterministic, Laurent Rineau, 09/24/2008
Archive powered by MHonArc 2.6.16.