Subject: CGAL users discussion list
List archive
- From: dada_bx <>
- To:
- Subject: [cgal-discuss] Triangulation on sphere, taking sphere's surface facets
- Date: Wed, 30 Jun 2010 01:03:22 -0700 (PDT)
Hi all,
I test the 3D surface mesh generation with this sample code :
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Surface_mesher/Chapter_main.html#figure:Surface_mesher-sphere-surface
sphere mesh generation
I run an custom openGl 3D viewer to show the result.
First, i transpose facet in triangle_3 like this:
Tr::Finite_facets_iterator it_facet;
for (it_facet = tr.finite_facets_begin(); it_facet !=
tr.finite_facets_end(); it_facet++)
{
GT::Triangle_3 t (tr.triangle(*it_facet));
//... routine to save triangle_3 in stl container
}
Second, i use the list of triangle_3 to do 3d visualization.
I observe that i had some triangle inside the sphere, i need only the
surface's facet.
How to do that ?
Thank you,
Damien.
If i parse the delaunay triangulation like this :
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Triangulation-on-sphere-taking-sphere-s-surface-facets-tp2272680p2272680.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Triangulation on sphere, taking sphere's surface facets, dada_bx, 06/30/2010
- Re: [cgal-discuss] Triangulation on sphere, taking sphere's surface facets, Laurent Rineau (GeometryFactory), 06/30/2010
Archive powered by MHonArc 2.6.16.