Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Restore an old status of a polyhedron

Subject: CGAL users discussion list

List archive

[cgal-discuss] Restore an old status of a polyhedron


Chronological Thread 
  • From: "Abel Alonso" <>
  • To:
  • Subject: [cgal-discuss] Restore an old status of a polyhedron
  • Date: Thu, 2 Oct 2008 16:25:56 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=td/yGgcZLHzf07zKioOqKQ1XvuHLJIn9zyFks2RaFD+C0F/T/NIz56sjQojHJMMZiS JvJU9X9Uzz174B6kNs0VzAXzeWhJEj+kM93Mz+NW9dncZiET7Ckkw7R7o1vs3HNuOxhj MX5Kj01AeCViNRJVR5fuRZcZf3r8G4Pm9M7EU=

Hi!

I'm working with the class Polyhedron_3 to implement a Mesh Editor and when the user performs an operation which involves a hole I would like to come back to the previous state of the mesh. I have a buffer of triangles of that previous mesh state, but I cannot reconstruct the mesh by adding all of these triangles using the make_triangle method, but I cannot add a triangle which has two points inserted in the polyhedron.

So, my question is:

Does exists any method or way to construct a Polyhedron from a triangle list?

If it isn't, I would like to know if is there any way to copy a Polyhedron object to another one, without memory sharing between them.

Thanks in advance and congrats for this great library,

Abel.



Archive powered by MHonArc 2.6.16.

Top of Page