Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Problems converting polygon soup to mesh

Subject: CGAL users discussion list

List archive

[cgal-discuss] Problems converting polygon soup to mesh


Chronological Thread 
  • From:
  • To:
  • Subject: [cgal-discuss] Problems converting polygon soup to mesh
  • Date: Wed, 6 Dec 2017 15:39:28 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:5AL2oRKco4KbsuorXtmcpTZWNBhigK39O0sv0rFitYgXLv/xwZ3uMQTl6Ol3ixeRBMOAtKIC1rKempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBWB6kG1uDUdExG6OQtuLfnuAabTid623qa84c79eQJN0T+ge7o0JxG6hQrUv8gSx4BlL/VigiDVq2dFLrwFjVhjIkieyk7x

Hello,

I'm trying to use the functions of the package Polygon_mesh_processing to extract a closed, manifold mesh from a set of unorganized polygons. I'm following the example in Polygon_mesh_processing/polygon_soup_example.cpp . However, already a first call to orient_polygon_soup() - which returns true - does not modify the orientation of any polygon, although by visual inspection I can clearly see that many faces are not oriented consistently. The mesh resulting from polygon_soup_to_polygon_mesh() is not closed, even after a call to stitch_borders(). At this point, triangulating the mesh with triangulate_faces() produces a non valid mesh (i.e., CGAL::is_valid() returns false).

I'm attaching a .ply with the input polygon soup. Any pointer is highly appreciated!

Thanks,
Claudio

Attachment: soup_before.ply
Description: Binary data



  • [cgal-discuss] Problems converting polygon soup to mesh, mura . cld, 12/06/2017

Archive powered by MHonArc 2.6.18.

Top of Page