Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Frederic Bouvier <>
  • To:
  • Subject: Re: [cgal-discuss] ( Was: GMP binaries for Visual Studio ? )
  • Date: Wed, 15 Aug 2007 21:56:06 +0200

Hi,

I am resurrecting an old thread here

I wrote :
> it looks like CGAL::Nef_polyhedron_3 doesn't work with
> CGAL::Cartesian<double>, at least compiled with Visual Studio 200[35].


Peter Hachenberger a écrit :
> Hi Fred,
>
>
>> 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.
>>
>
> Yes, Homogeneous<Gmpz> is much faster. Also try Homogeneous<mpz_class>.
> But be careful; with a homogeneous kernel your input files must have
> integer coordinates. These problems will hopefully be gone in the next
> CGAL Version. Then floating point filtering will be effective with
> Nef_polyhedron_3. This means that the fastest Kernel will be a Cartesian
> kernel and it will be much faster.
>

Is it possible to use a filtered cartesian kernel with double now with
CGAL 3.3 ?

Thanks
-Fred

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


  • Re: [cgal-discuss] ( Was: GMP binaries for Visual Studio ? ), Frederic Bouvier, 08/15/2007

Archive powered by MHonArc 2.6.16.

Top of Page