Subject: CGAL users discussion list
List archive
- From: Mohamed BENDAOUD <>
- To:
- Subject: [cgal-discuss] "Vector<T> too long" exception in release mode
- Date: Sun, 8 Mar 2009 01:01:02 +0000
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jX3wcNZ1vPaq6su+PcG1dhBPAwfrprIPaE0vN2LMrTc0NeBISEDl5T7XqaUIbgePFU a2lOumM/7EjVh7fADNFDiKbyZ3GNAqRsJPag4tbZpcVanX0M7qsMoownu2QNupwpbNJE iASN4Y0ScEzBs9tWibAw8fZ88JmPjywl2UULc=
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.
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.
- Re: [cgal-discuss] about query k nearest neighbor point in Delaunay triangulation, Query Cgal, 03/01/2009
- <Possible follow-up(s)>
- Re: [cgal-discuss] about query k nearest neighbor point in Delaunay triangulation, Laurent Rineau (GeometryFactory), 03/02/2009
- [cgal-discuss] "Vector<T> too long" exception in release mode, Tom Kazimiers, 03/02/2009
- Re: [cgal-discuss] "Vector<T> too long" exception in release mode, Tom Kazimiers, 03/04/2009
- [cgal-discuss] "Vector<T> too long" exception in release mode, Mohamed BENDAOUD, 03/08/2009
- Re: [cgal-discuss] "Vector<T> too long" exception in release mode, Tom Kazimiers, 03/09/2009
- [cgal-discuss] "Vector<T> too long" exception in release mode, Mohamed BENDAOUD, 03/08/2009
- Re: [cgal-discuss] "Vector<T> too long" exception in release mode, Tom Kazimiers, 03/04/2009
- [cgal-discuss] "Vector<T> too long" exception in release mode, Tom Kazimiers, 03/02/2009
Archive powered by MHonArc 2.6.16.