Subject: CGAL users discussion list
List archive
[cgal-discuss] Re: CGAL doesn't like left-sided half circles ? Is it a bug or do I have a bug ?
Chronological Thread
- From: Tapadi <>
- To:
- Subject: [cgal-discuss] Re: CGAL doesn't like left-sided half circles ? Is it a bug or do I have a bug ?
- Date: Sat, 9 Mar 2013 06:32:03 -0800 (PST)
Hello,
I applied your advice and it works perfectly now! Thank you very much.
In order to provide the correct code for anyone else, here are the
modifications I added to the code snippet.
I replaced these two lines :
#include<CGAL/Exact_predicates_inexact_constructions_kernel.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
By these two :
#include<CGAL/Exact_predicates_exact_constructions_kernel.h>
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
I had also to add those following libraries for linking in order to switch
from inexact to exact kernel :
-lgmp
-lboost_thread-mt
-lmpfr
Please note that CGAL points' coordinates are then arbitrary precision
numbers and cannot be directly converted into double (for debugging or
display purposes). One have to use CGAL::to_double function to do so.
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Algebraic_foundations_ref/Function_to_double.html
Best regards,
Hugo Loi
PhD student at Inria - Maverick Team
http://maverick.inria.fr/
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-doesn-t-like-left-sided-half-circles-Is-it-a-bug-or-do-I-have-a-bug-tp4656863p4656872.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CGAL doesn't like left-sided half circles ? Is it a bug or do I have a bug ?, Tapadi, 03/08/2013
- Re: [cgal-discuss] CGAL doesn't like left-sided half circles ? Is it a bug or do I have a bug ?, Sebastien Loriot (GeometryFactory), 03/09/2013
- [cgal-discuss] Re: CGAL doesn't like left-sided half circles ? Is it a bug or do I have a bug ?, Tapadi, 03/09/2013
- Re: [cgal-discuss] CGAL doesn't like left-sided half circles ? Is it a bug or do I have a bug ?, Sebastien Loriot (GeometryFactory), 03/09/2013
Archive powered by MHonArc 2.6.18.