Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] consistency of point collinearity test and circumcenter construction

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] consistency of point collinearity test and circumcenter construction


Chronological Thread 
  • From: Matthijs Sypkens Smit <>
  • To:
  • Subject: Re: [cgal-discuss] consistency of point collinearity test and circumcenter construction
  • Date: Tue, 17 Jul 2007 09:50:08 +0200

On Monday 16 July 2007 19:19, Sylvain Pion wrote:

> > btw;I have tried to check that using a
> > Exact_predicates_exact_constructions_kernel prevents the problem from
> > happening, but I have little experience with this kernel as of yet.
> > I'm getting
> > CGAL error: assertion violation!
> > Expr: !(i>s)
> > File: /user/CGAL-3.3/include/CGAL/Interval_nt.h
> > Line: 77
> > Explanation: Variable used before being initialized (or CGAL bug)
> > but so far I cannot seem to find the cause of the problem. I do
> > believe that all variables involved have actually been initialized.
>
> This most probably indicates a bug in your code, such as the use of
> coordinates before intializing/assigning them.

Once again, thanks for explaining the details. This morning I investigated
the code that leads to the failure above and it indeed turned out to be my
own mistake. I had not initialised a certain Point variable. When using a
Point based on doubles this does goes unnoticed. The bug was thus already
present in the other/original code.


--
Matthijs Sypkens Smit



Archive powered by MHonArc 2.6.16.

Top of Page