Subject: CGAL users discussion list
List archive
- From: Benjamin Kehlet <>
- To: cgal-discuss <>
- Subject: Re: [cgal-discuss] Duplicated halfedges and faces after remeshing
- Date: Sun, 1 May 2016 14:03:36 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:rNSOLB+7DTkKdP9uRHKM819IXTAuvvDOBiVQ1KB91uwcTK2v8tzYMVDF4r011RmSDdWdu6MP17GempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lSsiC3o/rjKibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V0/MFJVeD2fr8zUKdDRGAtPGkxocHqrhLeVhCn530GU2xQnAAeUCbf6xSvdJr3sCL/t+w1+ySaOcDqBeQ+VDKg5qJqSzfziSIaMzd/9maB2Z84t75SvB/0/083+IXTeozAbPc=
Jane,
That was quick! Thank you very much!On 29 April 2016 at 17:40, Jane Tournois <> wrote:
And the associated pull-request
https://github.com/CGAL/cgal/pull/1052
Best,
Jane.
Le 29/04/2016 à 17:32, Jane Tournois a écrit :
Dear Benjamin,
thanks for your report.
I have fixed the bug you reported. It will be fixed in the next release.
Here is a link to the commit that fixes your issue, in the remesh_impl.h file :
https://github.com/CGAL/cgal/pull/1030/commits/dbedd1358d084ded19effb9fcfa677d77b6c5509Best regards,
Jane.
-- Jane Tournois, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Le 27/04/2016 à 12:52, Benjamin Kehlet a écrit :
Benjamin KehletI'm on debian testing with a debug build of CGAL 4.8. I'm building with gcc 5.3.1 (with -std=gnu++11).Line 530: 3 122 124 126Line 320: 3 126 124 122When running the program with the attached cylinder.off as input, the generated file (remeshed.off) contains:When playing with the remesher the output is occasionally problematic. Attached is a simple program which reproduces the problem. It reads in a polyhedron from file, marks some edges as protected constraints, invokes the remesher and outputs to off format.Dear CGAL teamThank you very much for your work with the Surface_mesh and Polygon_mesh processing_packages, and in particular the newly added implementation of isotropic remeshing. It is much appreciated!
Line 532: 3 281 122 126
Line 827: 3 294 126 122
So the faces in line 320 and 530 seems to be the same but with opposite orientation. The faces in line 320 and 532 share a halfedge from v122 to v126 and the faces in line 530 and 827 shared a halfedge from v126 to v122.
I hope someone can take a look an comment if I'm doing something wrong, the input can not be handled by the function or if this is a problem in CGAL.
Thanks in advance!
Best regards
-- Jane Tournois, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/
- Re: [cgal-discuss] Duplicated halfedges and faces after remeshing, Benjamin Kehlet, 05/01/2016
Archive powered by MHonArc 2.6.18.