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: Peter Hachenberger <>
  • To:
  • Subject: Re: [cgal-discuss] GMP binaries for Visual Studio ?
  • Date: Mon, 04 Dec 2006 17:25:57 +0100

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.

Do you do a single intersection per loop cycle?

Peter




Archive powered by MHonArc 2.6.16.

Top of Page