Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] GMP binaries for Visual Studio ?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] GMP binaries for Visual Studio ?


Chronological Thread 
  • From: Frederic Bouvier <>
  • To:
  • Subject: Re: [cgal-discuss] GMP binaries for Visual Studio ?
  • Date: Mon, 04 Dec 2006 17:08:07 +0100

Hi Peter,

Quoting Peter Hachenberger:

> Hi Fred,
>
> Nef_polyhedron_3 only works with exact kernels. So it does not
> work with Cartesian<double>. At the moment Homoegeneous is the
> fastest kernel for Nef_polyhedron_3.

I managed to have something working with Cartesian<Gmpq> under Linux but it is
dead slow ( I am doing solid intersections inside a 3D rendering loop ). Would
it be faster with Homogenous<Gmpz> ? Cartesian<Gmpz> doesn't work because
to_double() returns only the integral part of numbers.

On VS 2003 it is even much slower and often fail with "Error :!!!!!!!"
messages.

On VS 2005 it doesn't work because the conversion from Nef_polyhedron to
Polyhedron compares iterators from different containers ( undef_ ) and this is
trapped by the MS STL.

-Fred


--
Frédéric Bouvier
http://frfoto.free.fr Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278 Other photo gallery
http://fgsd.sourceforge.net/ FlightGear Scenery Designer



Archive powered by MHonArc 2.6.16.

Top of Page