Subject: CGAL users discussion list
List archive
- From: "Nico Kruithof" <>
- To:
- Subject: Re: [cgal-discuss] Newbie - surface mesh combine (union)?
- Date: Mon, 30 Jun 2008 21:45:17 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=IgkzcG1tIv8nAdd4FDWqw8MbU0vSvWYLHPfqFYniAbG8Szg2eDKJvDOxyYfImhoP4Q gRIJY7V7rgn0oS9No220ZojQxZLgJl3EivWaHaWsK9MAa9sRytb2lnUZz+Y1/GgAW4rW XSRZmwa6nFKkxVPkH+73oW8cMyU88ce1fCUT8=
Hi,
Probably the fastest method is to use the skin surface package which is also able to triangulate the boundary of a union of balls. It is quite fast, but doesn't give you a quality mesh. I suggest that you have a look at the examples in the Skin_surface_3 directory (especially union_of_balls_simple.cpp and union_of_balls_subdiv.cpp). As I wrote in my previous e-mail you need to patch one file before you can use the examples. Please let me know if you find the package usefull.
The other option is to use the delaunay mesher, but this probably requires some coding.
Bests,
Nico Kruithof
Hi all,
I am new to CGAL and (after reading the introduction & some tutorials) I am still puzzled about the very function that I'd realize using CGAL, i.e. I have two (or more) spheres that may intersect with each other. What I want is a combined triangulated mesh of the whole lot, with the overlay parts clipped away and junctions joined properly. I know how to mesh a sphere but have no idea what is the 'recommended way', or the best way, to implement the union operation using CGAL to its full scale. Any suggestions or keywords for me to search for are extremely welcome as I am an absolute beginner to CGAL, although reading code is not a problem for me.
Regards,
Xiaofan
--
Xiaofan Li
Biomolecular Modelling Laboratory
Cancer Research UK London Research Institute
- [cgal-discuss] Newbie - surface mesh combine (union)?, Xiaofan Li, 06/30/2008
- Re: [cgal-discuss] Newbie - surface mesh combine (union)?, Nico Kruithof, 06/30/2008
Archive powered by MHonArc 2.6.16.