Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Copy of Delaunay triangulation to a simple Triangulation
  • Date: Tue, 06 Mar 2012 16:48:37 +0100

On 03/06/2012 04:22 PM, petitmalin wrote:
hi,
thank you for your reply really rapid.
In fact, my program uses Delaunay triangulation during the whole process
except at the last step, I want to do some local modifications of the
triangulation but without the Delaunay triangulation constraint. That's why
I want to crate a simple triangulation which is copied from the Delaunay and
the local modifications could be done with this new triangulation.

I have tested the tds.swap() but it does not work. In fact, if we have
simple Triangulatio1, Triangulation2, and Delaunay1,Delaunay2. We can have
Triangulation1.tds()=Triangulation2.tds() and
Delaunay1.tds()=Delaunay2.tds(), but never
Triangulation1.tds()=Delaunay1.tds() with CGAL. Note also that in the
typedefs, we use exactly the same Triangulation_data_strcture_3 for both
simple triangulation and Delaunay triangulation.

Do you have any suggestion about my problem? best regards
Don't really get what you want to do but you might want to do the following:

Delaunay_triangulation_3 dt1;
Triangulation_3 t1(dt1);

Sebastien.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Copy-of-Delaunay-triangulation-to-a-simple-Triangulation-tp4450013p4450185.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.16.

Top of Page