Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: Re: [cgal-discuss] DelaunayD Class
- Date: Thu, 28 Jun 2007 16:28:53 +0200
Dear Andreas,
In the sincere hope that it may be helpful, here are a piece of code :
std:size_t numpoints = 40, dim = 6;
typedef Cartesian_d<double> Ker;
typedef Delaunay_d<Ker> OS_Delaunay_d;
OS_Delaunay_d Delaunay(6);
for (int j=0; j<numpoints; j++) {
particle_type::iterator it_b = from[j].begin();
particle_type::iterator it_e = from[j].end();
Delaunay.insert(OS_Point_d(dim, it_b, it_e));
// from is of kind std::vector<std::vector<double> >, almost randomly filled
};
// assert( Delaunay.is_valid() );
// is usually not valid, even in dim = 2. Did I mistake sthing ?
This code raise a stackoverflow on my machine at the 40 th insertion, I run
VCExpress2005.
...
Convex_hull_d<...>::visibility_search(...
Convex_hull_d<...>::visibility_search(...
Convex_hull_d<...>::visibility_search(...
...
The same occurs in dim 5. In dim 4, time to insertion seems anormally slow :
10 seconds for 1000 insertions. Dim 3 seems ok, but slower than Qhull. Dim 2
is comparable to Qhull.
Did I mistake something ?
Best
Jean-Marc Mercier
- Re: Re: [cgal-discuss] DelaunayD Class, jeanmarc . mercier, 06/28/2007
- Re: [cgal-discuss] DelaunayD Class, Andreas Fabri, 06/28/2007
- <Possible follow-up(s)>
- Re: Re: [cgal-discuss] DelaunayD Class, jeanmarc . mercier, 06/28/2007
- Re: [cgal-discuss] DelaunayD Class, Andreas Fabri, 06/28/2007
- Re: Re: [cgal-discuss] DelaunayD Class, jeanmarc . mercier, 06/28/2007
- Re: [cgal-discuss] DelaunayD Class, Sylvain Pion, 06/28/2007
- Re: Re: [cgal-discuss] DelaunayD Class, jeanmarc . mercier, 06/28/2007
Archive powered by MHonArc 2.6.16.