Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Orient_polygon_soup

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Orient_polygon_soup


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Orient_polygon_soup
  • Date: Wed, 18 Sep 2019 07:16:39 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:eJINIhYrAs0BU4TA21EgJY//LSx+4OfEezUN459isYplN5qZrsq6bnLW6fgltlLVR4KTs6sC17ON9fm/Ej1bqdbZ6TZeKcYKD0dEwewt3CUYSPafDkP6KPO4JwcbJ+9lEGFfwnegLEJOE9z/bVCB6le77DoVBwmtfVEtfre9FYHdldm42P6v8JPPfQpImCC9YbRvJxmqsAndrMYbjZZsJ6or1xfEoHREduBYyGh1IV6fgwvw6t2/8ZJ+7Shcoe4t+9JFXa7nY6k2ULtUASg8PWso/sPrrx7DTQWO5nsYTGoblwdDDhbG4h/nQJr/qzP2ueVh1iaUO832Vq00Vi+576h3Uh/oiTwIOCA//WrKl8F/lqNboBampxxi347ZZZyeOfRicq/Be94RWGxMVdtTWSNcGIOxd5YBAfQPPehYrIfzqVUBohS8CgawC+3i0SNIi3zs0KEmz+gsHwPL0Qo9FNwOqnTUq9D1Ob8cXe6o0qbH1i/Mb+hK2Tf89ofIdA0qr/eLXbJqcMrRzlUvHB7BgluRt4PlODaV2foRs2iB7+tuVfighHI7qwF2uDiuxsIghofUjY8S0VDE8SJ5wJw0Jd2/VE53e9ukEJ9LuiGVMot5WMIiQ2VytCkmzb0GvIe2cS4Xw5opwB7fbuaIc4mO4h/7W+aRJjB4hH1heL2hnRq97U+gyujkWsao31ZFtC5FnsPLtnAX2Bze7NWMRPhl/kq5xzqDywTe5vtHLE00j6bXNYAtzqMqmpccv0nPBjH6l1/qgKOLc0gr5vOn5/nob7jjpZKRN5N7hwTlPakthsCzHeE1PwcSUGWb+umx0bLu8lPkT7pXi/A7nLfWvZDGKskevaG2HQ5Y34cl5h2iFTmpys4YkmMCLF9deBKIkYzpO1bWLfD9F/i/glCsnC5lxvDcI7HtG5vNI3fNnbv7crZ97ElcyAU3zd9B/Z5bFrYBIPfrVk/wstzXEAM5PhSqz+r7DNhxzIATVGKVDqOHLq/erEWE6+0hLuWUYY8aojf9K/wr5/70in85nEcQfbKt3ZsQcnC4H/NmI1mDbXrphtcMCmgKvg8kQ+zrjF2OSyJcZ3G3X64k/DE0FJqmDZvfRoCqmLGOwCi7EYdSZmxfF1+MEGzoeJmZW/cXcyKfOdRhkzwBVbi5UYAtzxCutAngy7pmNOXY4CMYtYiwnORysubcnBV3+T1vBNmGyEmMSXt1lyUGXWwYxqd69AZGx12KyrR5jvoQMdtJ5vRVGkcVOJnZwvBgGv77UR7GZMbIAh7yWdGhGzA2UpQ0x/cBZk98H5OpiRWVjHniOKMci7HeXM98yanbxXWkf58hmUaD77EoihwdeuUKLXev3/ct+A3aBoqPmEKcxf7zKPYsmRXV/WLG9lKg+UFVVAkqDPfAVHEbI1TM9JH3uhiEQLipBrAqdABGzJzac/oYWpjSlVxDAczbFpHbamO1lX23AE/RlLyJZYvuPW4a2XeEBQ==

I can reproduce the error. In CGAL 4.14, we introduced the function PMP::repair_polygon_soup(points, polygons) that if called before
the call to orient_polygon_soup fixes the issue.

@Mael, you might want to have a look at what is going on. There are
no (topologically at least) degenerate faces, only duplicated vertices.
The verbose mode does not really help to understand what is going on (at least it did not help me)

Sebastien.

On 9/18/19 2:12 AM, Shrabani Ghosh wrote:
Hi,

I am trying to use the orient_soup on my data. I am following the below example.
https://doc.cgal.org/latest/Polygon_mesh_processing/Polygon_mesh_processing_2orient_polygon_soup_example_8cpp-example.html#a2

but in the line of iteration of faces, I am getting an error and later I am getting segmentation fault. I printed here the faces iteration and I can see this below error. I am not understanding why I am getting this error. I cannot change the orientation and not able to use the mesh for any other examples. Could you please suggest how to solve this? I am attaching the input file here.

1169029 1169030 1169031 116903terminate called after throwing an instance of 'CGAL::Assertion_exception'
  what():  CGAL ERROR: assertion violation!
Expr: is_valid_polygon_mesh(tm)
File: /home/sghos003/CGAL-4.13.1/include/CGAL/Polygon_mesh_processing/orientation.h
Line: 483
2 1169033 1169034 1169035 1169036 1169037 1169038 1169039 1169040 1169041

Regards
Shrabani Ghosh
output_newvolume_bones.off <https://drive.google.com/file/d/1w-MSveT4IiGziJZibrqTyeIa72Z02_og/view?usp=drive_web>



Archive powered by MHonArc 2.6.18.

Top of Page