       Voronoi diagrams: help!

• To: mathgroup at smc.vnet.net
• Subject: [mg46651] Voronoi diagrams: help!
• From: "Abramo" <sirol at email.it>
• Date: Thu, 26 Feb 2004 17:54:08 -0500 (EST)
• Sender: owner-wri-mathgroup at wolfram.com

```Hi,

I need some help...I'm trying to compute a bounded voronoi diagram in
MATHEMATICA 5. The code is:

gxy = {{4.4, 14}, {6.7, 15.25}, {2.1, 11.1}} \$generators of Voronoi diagram

b = {{0, 1}, {14, 1}, {14, 16}, {0, 16}}; \$boundaries

{vxy, gface} = BoundedDiagram [ b, gxy, delval, convexhull];
DiagramPlot[data2D, vxy, gface,Axes->True, AspectRatio->1,
AxesOrigin->{0,0}]

and so on and so forth following the instruction explained in the
MATHEMATICA BOOK.

But it doesn't work, that is, after the command {vxy, gface} =
BoundedDiagram [ b, gxy, delval, convexhull ];, if one tries to applay this
command to less than eleven points the output is:

"BoundedDiagram::notuniq: BoundedDiagram requires that boundary vertices lie
in unique Voronoi polygons. BoundedDiagram::nobd: Bounded diagram failed."

Whereas with more then 10 points all it's ok....

Why? Can anybody help me?

By

Loris from Italy

```

• Prev by Date: need help with writing algorithm for polynomial gcd!
• Next by Date: Re: Question about Integrate and If
• Previous by thread: need help with writing algorithm for polynomial gcd!
• Next by thread: Draws from Multivariate Normal Distribution