Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] voronoi Uncertain_conversion_exception

Subject: CGAL users discussion list

List archive

[cgal-discuss] voronoi Uncertain_conversion_exception


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] voronoi Uncertain_conversion_exception
  • Date: Wed, 28 Jan 2009 02:21:29 +0100 (CET)

hi,

i use cgal with vc2008. My program crashes in release mode. and in debug mode,
I get the following exception :

First-chance exception at 0x7c81eb33 in TeleGeoMarketing Analyser IAM ©.exe:
Microsoft C++ exception: CGAL::Uncertain_conversion_exception at memory
location 0x0012eb7c..

My code is :

VD vd; // VD == CGAL::Voronoi_diagram_2<DT,AT,AP>
Point_2 pt_2;
while(!recs.GetEof())// recs is a recordset
{
p = shape.GetValue().pdispVal;/* p is a point (X as double,Y as
double)
this line is safe*/
pt_2 = Point_2 (CGAL::to_double(p.GetX()),CGAL::to_double(p.GetY()));
vd.insert(pt_2);
recs.MoveNext();
}

i have this error with 483 points. for 200, it's ok.

help me please.



Archive powered by MHonArc 2.6.16.

Top of Page