Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Duplicated halfedges and faces after remeshing

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Duplicated halfedges and faces after remeshing


Chronological Thread 
  • From: Jane Tournois <>
  • To:
  • Subject: Re: [cgal-discuss] Duplicated halfedges and faces after remeshing
  • Date: Fri, 29 Apr 2016 17:40:48 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:07jXdBB7VW85CH3VH0A+UyQJP3N1i/DPJgcQr6AfoPdwSP7+o8bcNUDSrc9gkEXOFd2CrakU26yG7euwBSQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTnkbDssM2PKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxcK08CLBZFz87KHsd5cvxtBCFQxHcyGEbVzA0mxxFSzTC8Qv8WZbq+n/4v+xwnjWdINfwSrEvcTuv6KJmVAX5hi4MKzkj4Sfcjckm3/ETmw6ouxEqm92cW4qSLvcrJq4=

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/dbedd1358d084ded19effb9fcfa677d77b6c5509

Best regards,

Jane.

-- 
Jane Tournois, PhD
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/


Le 27/04/2016 à 12:52, Benjamin Kehlet a écrit :
Dear CGAL team

Thank 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!

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.

When running the program with the attached cylinder.off as input, the generated file (remeshed.off) contains:
Line 320: 3 126 124 122
Line 530: 3 122 124 126
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'm on debian testing with a debug build of CGAL 4.8. I'm building with gcc 5.3.1 (with -std=gnu++11).

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

Benjamin Kehlet



-- 
Jane Tournois, PhD
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.18.

Top of Page