Subject: CGAL users discussion list
List archive
- From: Jack Stalnaker <>
- To:
- Subject: Re: [cgal-discuss] segmentation fault in refine_Delaunay_mesh_2
- Date: Wed, 14 Jan 2015 15:59:12 -0600
The program itself is more or less a duplicate of the example I linked, but entrenched in helper code. I am attaching constraint data points for what works and what doesn't work. In each of these figures, the constraints connect the dots vertically, and connect the distorted rows across. There is one final constraint--the horizontal, straight line. I can see that in the failing case, the straight, horizontal constraint intersects one of the distorted horizontal constraints at a low angle. However, I cannot see how this would cause a segmentation fault.
The straight, horizontal constraint was added using only its endpoints.
I am adding constraints using insert_constraint(), and I am refining by calling refine_Delaunay_mesh_2(cdt, Criteria(0.125, 100.0)) as in the example. It is the refine_Delaunay_mesh_2 call that segfaults.
On Wed, Jan 14, 2015 at 3:42 PM, Marius Kintel <> wrote:
On Jan 14, 2015, at 16:26 PM, Jack Stalnaker <> wrote:
> Does anyone have any insight about what might cause a segmentation fault when calling refine_Delaunay_mesh_2.
>
I’m having similar issues, see:
http://cgal-discuss.949826.n4.nabble.com/Nef3-Wrong-normal-vector-reported-causes-triangulator-crash-tt4660282.html
If you share an example program including your data points, I guess it will be easier to diagnose.
-Marius
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
Attachment:
constraints_donotwork.png
Description: PNG image
Attachment:
constraints_work.png
Description: PNG image
- [cgal-discuss] segmentation fault in refine_Delaunay_mesh_2, Jack Stalnaker, 01/14/2015
- Re: [cgal-discuss] segmentation fault in refine_Delaunay_mesh_2, Marius Kintel, 01/14/2015
- Re: [cgal-discuss] segmentation fault in refine_Delaunay_mesh_2, Jack Stalnaker, 01/14/2015
- Re: [cgal-discuss] segmentation fault in refine_Delaunay_mesh_2, Jack Stalnaker, 01/15/2015
- Re: [cgal-discuss] segmentation fault in refine_Delaunay_mesh_2, Marius Kintel, 01/14/2015
Archive powered by MHonArc 2.6.18.