Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Using CGAL CSG (help please)

Subject: CGAL users discussion list

List archive

[cgal-discuss] Using CGAL CSG (help please)


Chronological Thread 
  • From: Jack77 <>
  • To:
  • Subject: [cgal-discuss] Using CGAL CSG (help please)
  • Date: Wed, 28 Apr 2010 03:48:05 -0700 (PDT)


Hi;
I am trying to use CSG difference in CGAL using meshes i have in my program;
My program has mesh information as 3d Vertices (x,y,z) and Polygons
(triangles) indices to vertices (3 indices to vertices per triangle); As you
can see, it's a very simple representation;

To use CGAL CSG, i need to convert the "to be substracted mesh" and the
"substractor" mesh each to a Nef_polyhedron_3 object;
Can i do this conversion?, i don't have edge or half edge informations on my
mesh info.
If i can do it, how to get the resulting difference mesh?

I would be very grateful to have a step by step information on how to
accomplish this.
(convert to Nef_polyhedron_3; Do CSG substract, get the resulting
Nef_polyhedron_3, convert back to my simple mesh as vertices and triangle
indices)
Thank you for your help;

Jack


--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Using-CGAL-CSG-help-please-tp2068952p2068952.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page