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: Wed, 8 Aug 2012 10:24:41 -0400

I think I was able to trace back to the source of the problem.

If I use the output_surface_facets_to_off function, I can see that some facets are not considered on the surface, and thus are not output in the final model. I assume that the dangling vertices belong to those facets.

Is there a reason why this would be the case after a make_surface_mesh() operation?

Catherine

On Tue, Aug 7, 2012 at 11:55 AM, Catherine Proulx <> wrote:
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