Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 3D surface mesh generation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 3D surface mesh generation


Chronological Thread 
  • From: Laurent Rineau <>
  • To:
  • Subject: Re: [cgal-discuss] 3D surface mesh generation
  • Date: Tue, 24 Jun 2008 15:53:12 +0200

On Tuesday 24 June 2008 15:02:56 Hui Ding wrote:
> Thank you! and also in this case(all the facets are triangles), i need to
> know the every three vertices on the same facet which is on the surface,
> but I didnt find the direct way to do it, do you have an idea?

If you have a FaceĀ f (from a 3D triangulation), the three corresponding
Vertex_handle are:
f.first->vertex((f.second+1)&3)
f.first->vertex((f.second+2)&3)
f.first->vertex((f.second+3)&3)

if you have a Vertex_handle vh, the corresponding point is:
vh->point()

--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page