Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Bezier curve arrangement error
- Date: Mon, 06 Dec 2010 19:05:51 +0100
With the data and example file provided I can reproduce the problem
you are facing (even with the latest development version of the
package). This is probably a bug, we will find a solution and post it
here.
S.
Gene wrote:
Thanks, using version 3.7, the error no longer appears. However, this
example came from a larger data set that gives a different error
now--one which is harder to localize. Therefore, I have included the
larger dataset along with a new test program.
The error I get is:
--------
terminate called after throwing an instance of
'CGAL::Precondition_exception'
what(): CGAL ERROR: precondition violation!
Expr: ! _predP->is_valid() || comp_f(object, _predP->object) != SMALLER
File: /usr/local/include/CGAL/Multiset.h
Line: 2142
Abort
--------
The error only appears if I load the curves using the iterator version
of `insert'. When I load the curves one at a time, it USUALLY works,
but sometimes I get the following error:
--------
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: CGAL::compare (pt_org->point_bound().t_max,
ps_org->point_bound().t_min) == SMALLER
File: /usr/local/include/CGAL/Arr_geometry_traits/Bezier_x_monotone_2.h
Line: 2564
Abort
--------
When this error appears, it is not attached to a specific point, but
it may appear at different times during loading. Obviously, it's
disturbing that it only appears sometimes and not all the time.
http://cgal-discuss.949826.n4.nabble.com/file/n3067817/test_curve2.cpp
test_curve2.cpp http://cgal-discuss.949826.n4.nabble.com/file/n3067817/curves.dat curves.dat http://cgal-discuss.949826.n4.nabble.com/file/n3067817/arr_print.h
arr_print.h
- [cgal-discuss] Re: Bezier curve arrangement error, Gene, 12/01/2010
- Re: [cgal-discuss] Re: Bezier curve arrangement error, Sebastien Loriot (GeometryFactory), 12/06/2010
- Re: [cgal-discuss] Re: Bezier curve arrangement error, Sebastien Loriot (GeometryFactory), 12/09/2010
- [cgal-discuss] Re: Bezier curve arrangement error, Gene, 12/09/2010
Archive powered by MHonArc 2.6.16.