Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] "Vector<T> too long" exception in release mode

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] "Vector<T> too long" exception in release mode


Chronological Thread 
  • From: Tom Kazimiers <>
  • To:
  • Subject: Re: [cgal-discuss] "Vector<T> too long" exception in release mode
  • Date: Mon, 09 Mar 2009 11:35:07 +0100

Mohamed,

thanks for your answer and suggestion - it worked pretty well and now I
can do my things without this annoying error :)

Regards,
Tom

Mohamed BENDAOUD schrieb:
> hi Tom Kazimiers,
>
> I had the same problem with voronoi. i was using this kernels :
>
> #include "include/CGAL/basic.h"
> #include "include/CGAL/Exact_predicates_inexact_constructions_kernel.h"
> #include "include/CGAL/Delaunay_triangulation_2.h"
> #include "include/CGAL/Voronoi_diagram_2.h"
> #include "include/CGAL/Delaunay_triangulation_adaptation_traits_2.h"
> #include "include/CGAL/Delaunay_triangulation_adaptation_policies_2.h"
> #include "include/CGAL/MP_Float.h"
> // typedefs for defining the adaptor
> typedef
> CGAL::Exact_predicates_inexact_constructions_kernel K;
> typedef
> CGAL::Delaunay_triangulation_2<K> DT;
> typedef
> CGAL::Delaunay_triangulation_adaptation_traits_2<DT> AT;
> typedef
> CGAL::Delaunay_triangulation_caching_degeneracy_removal_policy_2<DT> AP;
> typedef
> CGAL::Voronoi_diagram_2<DT,AT,AP> VD;
>
> to resolve the problem i changed typedef
> CGAL::Exact_predicates_inexact_constructions_kernel
> K; by :
> #include "include/CGAL/Simple_cartesian.h"
> typedef CGAL::Simple_cartesian<double> K;
>
> in my case CGAL::Uncertain_conversion_exception was the main problem.
>
> i don't know if it can help. good luck.
>




Archive powered by MHonArc 2.6.16.

Top of Page