Subject: CGAL users discussion list
List archive
- From: Daniel Russel <>
- To:
- Subject: Re: [cgal-discuss] Failed to draw the Voronoi diagram
- Date: Fri, 16 May 2008 08:26:06 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=qnvY9CdKl2WKLFoWDsbN/rmGMwwfmc1GTU1ItmKUhMZGoS3mrUPdeWhr3Oiw1xVQLVeTJ5B5iy4r8tuZOD29YEKNoaVrP5z+TK6QzroUqQMtg1jnOvTA5DniOi+tAhw19sCTKLEKpDRXluwZJ8hPcHtfIuY8TMUyK3tZhVRZEJg=
Qt uses integer arithmetic in its drawing computations and so has serious issues with large objects (relative to the viewport) due to overflow. It typically helps drawing reliability to split large objects into a number of smaller ones. Not that this really helps you unless you want to mess with the CGAL code.
On May 15, 2008, at 2:03 PM, Emerson Carride wrote:
I have a Delaunay triangulation, and I want to draw the Voronoi diagram.
But depending on the number of points in the triangulation, sometimes does not appears a ray in the window.
And when I click on the zoom button, or in another button on my toolbar, appears the ray that not appeared before.
to draw the diagram I'm using this function:
dt.draw_dual(*widget);
dt is the delaunay triangulation and *widget is where I draw the triangulation/diagram
Someone knows why this happens?
--
Emerson Amade Carride
Matemática Aplicada e Computação Científica
Instituto de Ciências Matemáticas e Computação
USP - São Carlos
tel: (16) 3411 0877; (11) 4538 3315 ; cel: (11) 71289888
- Failed to draw the Voronoi diagram, Emerson Carride, 05/15/2008
- Re: [cgal-discuss] Failed to draw the Voronoi diagram, Daniel Russel, 05/16/2008
Archive powered by MHonArc 2.6.16.