Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Precondition Violation in Mesh Refinement 2 Package

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Precondition Violation in Mesh Refinement 2 Package


Chronological Thread 
  • From: Simon Perkins <>
  • To:
  • Subject: Re: [cgal-discuss] Precondition Violation in Mesh Refinement 2 Package
  • Date: Thu, 25 Mar 2010 10:21:46 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=UiF3hU5J25kLVFWBjJq02vXSX7ZSN6KwV5BK/KIemkohED7tPLuPmPLyKd7mjfzDhj phEJyfF/JdCyGXfMFx1ZZqg7t+wYvZ8p4QBWRMOxlESCQadoQZpnCfLktyqax/44+g5e JcUV7p3OlEYF5ErSvdSgHo7dRIhJBVWCHGyWc=

Thank you for patching so quickly!

Simon

On Tue, Mar 23, 2010 at 5:07 PM, Laurent Rineau (GeometryFactory) <> wrote:
On Tuesday 23 March 2010 12:33:29 Laurent Rineau (GeometryFactory) wrote:
> On Tuesday 23 March 2010 11:04:35 Simon Perkins wrote:
> > Hi Laurent
> >
> > I've added the assertion but the problem still occurs. Here is the code.
> > It produces the two different precondition errors on both CGAL 3.5.1 and
> > 3.6. The call to refine_Delaunay_mesh_2 is on line 62 of trigen.cpp.
>
> Congratulation! You have found a bug in Mesh_2! Your data set is quite
> strange, because you insert in a cdt all finite edges of another one. That
> uncommon data set triggers a bug in the detection of clusters of
> constrained edges.
>
> I will send you a fix of include/CGAL/Mesh_2/Clusters.h before the end of
> the week.

I have attached the patch Mesh_2.patch (to be used with "patch -p0 <
Mesh_2.patch" in the CGAL installation), as well as the patched file
Clusters.h (to put in include/CGAL/Mesh_2/ in place of the old one, if you
cannot use "patch"). I have tested it on my machine with some data sets
(including yours). It will be tested in CGAL testsuite tonight.

That patch is commited in CGAL repository, and will be part of CGAL-3.6.1 and
CGAL-3.7.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page