Subject: CGAL users discussion list
List archive
- From: "Louis Feng" <>
- To: <>
- Subject: RE: [cgal-discuss] Delaunay_triangulation_2
- Date: Mon, 31 Mar 2008 23:07:01 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=from:to:references:in-reply-to:subject:date:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language:message-id; b=RVMOrZOSYgvs+0SPYBT9PWOTyGVfL5RAx7Esq0Rvfz/2X/fs4EXqaFJ/NBcXAWaRVaKy6g143LqPdv9hza8srX5eAiAcowbX2P4FoHMxMfnDhsYc+AegAFZtmMt48fu1R8oFrA6l+JSKwhSPqmlIXzeBqd7ligLRx0EFzwFOnx4=
I put these lines in, same problem occurs. I added the code I wrote below.
Louis
#include <CGAL/basic.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <iostream>
#include <CGAL/FPU.h>
struct K : CGAL::Exact_predicates_exact_constructions_kernel {};
typedef CGAL::Delaunay_triangulation_2<K> Triangulation;
typedef Triangulation::Point Point;
int main()
{
CGAL::force_ieee_double_precision();
Triangulation T;
Point p = Point(6.68896e-005, 1);
T.insert(p);
p = Point(6.68852e-005, 2);
T.insert(p);
p = Point(6.68807e-005, 0);
T.insert(p);
p = Point(6.68762e-005, 1);
T.insert(p);
p = Point(6.68717e-005, 2);
T.insert(p);
p = Point(6.68673e-005, 0);
T.insert(p);
/*
for (long i=14950; i<15000; i++) {
Point p = Point(1.0f/i, i%3);
//Point p = Point(1.0f/i, i%100);
std::cout << p << std::endl;
T.insert(p);
}
*/
return 0;
}
> -----Original Message-----
> From: Olivier Devillers
> [mailto:]
> Sent: Monday, March 31, 2008 12:44 AM
> To:
>
> Subject: Re: [cgal-discuss] Delaunay_triangulation_2
>
>
>
> You may try :
>
> #include <CGAL/FPU.h>
>
> and
>
> CGAL::force_ieee_double_precision();
>
>
> at the beginning of your code.
>
>
>
>
> it should at least help to have the same behavior
> if your ar in debug mode or not.
>
> Olivier
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
- RE: [cgal-discuss] Delaunay_triangulation_2, Louis Feng, 04/01/2008
- <Possible follow-up(s)>
- Re: [cgal-discuss] Delaunay_triangulation_2, Ryan Henry, 04/04/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Ryan Henry, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Sylvain Pion, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Ryan Henry, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Andreas Fabri, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Amit Pendharkar, 04/09/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Andreas Fabri, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Ryan Henry, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Sylvain Pion, 04/08/2008
- Re: [cgal-discuss] Delaunay_triangulation_2, Ryan Henry, 04/08/2008
Archive powered by MHonArc 2.6.16.