Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking
- Date: Thu, 22 Nov 2007 10:33:25 +0100
Laurent Rineau wrote:
On Thursday 22 November 2007 10:23:45
wrote:
Hi,
I you only want to compute the triangulation and if you have a container
for the whole set of points, then
dt.insert(InputIterator first, InputIterator last)
should indeed be the fastest way. It uses spatial sorting.
Actually, it should be documented that InputIterator needs to be a random access iterator. That method uses std::random_shuffle, which requires that.
It means that the container can be a std::vector<Point_3> but not a std::list<Point_3>.
You are wrong Laurent, as it copies the points in a std::vector
and applies random_shuffle on this vector
andreas
- Delaunay_triangulation_3 benchmarking, Ashwin Nanjappa, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Monique . Teillaud, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Laurent Rineau, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Andreas Fabri, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Laurent Rineau, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Andreas Fabri, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Ashwin Nanjappa, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Monique . Teillaud, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Laurent Rineau, 11/22/2007
- Re: [cgal-discuss] Delaunay_triangulation_3 benchmarking, Monique . Teillaud, 11/22/2007
Archive powered by MHonArc 2.6.16.