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: Tue, 23 Mar 2010 14:46:22 +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=DCbNp/bMqANGxasTMMfz1G73g64SKPuSbNPz4rC/cUwzziULK/8j2jh6x41BIVLJdG gdrYGKrhqOh4qn/c9lM8wiSOaTra6eSzialKikfWfgRyIuYd+DcN5fmWFBOWqsFcbjio +BgoYtYVvCEzWbK6iYKAtuExA4+KmR0MTsKaE=

Glad I could help. The test case is unusual: I was performing refinement of more structured environments, but needed a pathological test case to prove a point. You're welcome to use the case in your test suite.

Thanks for your time.
  Simon

On Tue, Mar 23, 2010 at 1:33 PM, 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.

Do you agree that your (random) data set is inserted in the CGAL test suite?
Being uncommon, it is interesting!

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