Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] Circular Arrangements inexact?
- Date: Tue, 31 Mar 2009 16:31:00 +0200
Dennis Schieferdecker a écrit :
Monique Teillaud schrieb:
What you might want to do is convert the Circular_arc_point_2'sThanks for the information. I have tried to do an exact conversion but
computed by the arrangement into Point_2< Cartesian< Core::Expr > >,
then all functionalities of the cgal Kernel would be available on them.
I have not tried but I guess it would work (you probably have to do
the conversion of coordinates "by hand"). I am afraid this would be
rather slow, though.
it seems that this cannot be done. In particular, I don't seem to be
able to convert the MP_Float type to the respective CORE type without
going over the double type.
You can try :
CGAL::MP_Float m;
CORE::Expr e = m.to_rational<CORE::Expr>();
(I don't make any promise that you will get usable speed though)
I also tried to use the circular Kernel based on the CORE::Expr number
type but that proved to be much too slow.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/23/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Ophir Setter, 03/23/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/24/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Efraim Fogel, 03/24/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/25/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/25/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Monique Teillaud, 03/25/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/31/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Sylvain Pion, 03/31/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/31/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/25/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Efraim Fogel, 03/24/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Dennis Schieferdecker, 03/24/2009
- Re: [cgal-discuss] Circular Arrangements inexact?, Ophir Setter, 03/23/2009
Archive powered by MHonArc 2.6.16.