Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to insert points with info in Periodic_3_Delaunay_triangulation_3?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to insert points with info in Periodic_3_Delaunay_triangulation_3?


Chronological Thread 
  • From: Jakob van Bethlehem <>
  • To:
  • Subject: Re: [cgal-discuss] How to insert points with info in Periodic_3_Delaunay_triangulation_3?
  • Date: Wed, 29 Feb 2012 15:27:04 +0100



On 02/29/2012 02:21 PM, Sebastien Loriot (GeometryFactory) wrote:
On 02/29/2012 01:58 PM, Jakob van Bethlehem wrote:
Hello,

As a new subscriber to this list, I'm not exactly sure if this is the
right place to pose my question, but if not, maybe someone can redirect me.
What I'm basically trying to achieve is the procedure described in
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_3/Chapter_main.html#Subsection_38.5.3
Unfortunately, this is not working for periodic triangulations.

Your typedefs are correct, but you need to insert points one by one and
set the info after.

Vertex_handle v=pdt.insert(pt);
v->info()=Info();

Sebastien.



[..]

Hej,

That was a very quick response. Thanks for that, although the outcome is kind of frustrating, since I need to insert lots and lots of points this way and using this method I don't have access to the optimizations that are available to do that :( I'll try to refactor the code a bit to see if I can circumvent this.

Sincerely,
Jakob



Archive powered by MHonArc 2.6.16.

Top of Page