Subject: CGAL users discussion list
List archive
- From: Efraim Fogel <>
- To:
- Subject: Re: [cgal-discuss] Assertion failure inserting curves - sweep bug?
- Date: Sun, 26 Jul 2009 13:44:49 +0300
Ben Supnik wrote:
Hi Y'all,There are cases where applying incremental inserts is more efficient than an applying an aggregate insert, especially when the number if input curves is small, but which copy of arrangement do you refer to?
I have an arrangement (built out of join and difference operations on polygons). I am using an exact pred/exact constructions kernel and half -frounding-math on. I am in debug mode, so I have all warnings, etc.
After building my arrangement, I do an insert-curves on an axis-aligned bounding box that sometimes overlaps the horizontal and vertical edges of my map.
If I insert the four sides using insert_curve, all is good.
If I insert all four using insert_curves, I get an assertion failure when trying to split a face.
Now...looking at the code it seems clear that I should be using insert_curve anyway; doing a full copy of the arrangement to put only four curves in will be dominated by the copy cost.
We are not aware of any bug of that sort. Try to come up with a test case that exposes the problem, and that we can reproduce, and we'll look at it.
But...is there any case where the sweep-line-based insert_curves should blow up? I am concerned that either my map is secretly invalid (it passes validation checks) or I have compiler settings such that my numerics are not stable.
cheers
ben
--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
- [cgal-discuss] Assertion failure inserting curves - sweep bug?, Ben Supnik, 07/23/2009
- Re: [cgal-discuss] Assertion failure inserting curves - sweep bug?, Efraim Fogel, 07/26/2009
- Re: [cgal-discuss] Assertion failure inserting curves - sweep bug?, Ben Supnik, 07/27/2009
- Re: [cgal-discuss] Assertion failure inserting curves - sweep bug?, Ben Supnik, 07/27/2009
- Re: [cgal-discuss] Assertion failure inserting curves - sweep bug?, efif, 07/28/2009
- Re: [cgal-discuss] Assertion failure inserting curves - sweep bug?, Efraim Fogel, 07/26/2009
Archive powered by MHonArc 2.6.16.