Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Dangling vertices in output of make_surface_mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Dangling vertices in output of make_surface_mesh


Chronological Thread 
  • From: Catherine Proulx <>
  • To:
  • Subject: Re: [cgal-discuss] Dangling vertices in output of make_surface_mesh
  • Date: Tue, 7 Aug 2012 11:55:18 -0400

Hello Sebastien,

Here is how dangling vertices are detected:

We convert the mesh to a polyhedron, using:
     CGAL::output_surface_facets_to_polyhedron

then loop through the vertices with
   for( VCI vi = polyhedron.vertices_begin(); vi != polyhedron.vertices_end(); ++vi)
   {...}
then the faces with
     for( FCI fi = polyhedron.facets_begin(); fi != polyhedron.facets_end(); ++fi)
   {...}

as part of the conversion to our own mesh class.

Any vertices not part of a face are considered "dangling".

On Thu, Aug 2, 2012 at 7:45 AM, Sebastien Loriot (GeometryFactory) <> wrote:
Could you indicate how you detect that there are dangling vertices?

Sebastien.



--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page