On Thu, 2 Feb 2012 14:10:39 -0500, Patrick VanDusen <pdusen(a)gmail.com> wrote:
I'm attempting to use MeshPy to generate a voronoi diagram/delaunay
triangulation, in an effort to implement a map generator in python using
I'm having some difficulty getting started with MeshPy, as my knowledge of
advanced geometry isn't very well-developed. In particular, I don't really
understand mesh_info:set_facets(facets); specifically, what exactly it
does, and what would be the correct input for this, given that I'm trying
to generate a 2D delaunay triangulation / voronoi diagram of random points.
Any tips or suggestions you can offer me would be greatly appreciated.
(Simply keep meshpy(a)tiker.net cc'd, and I won't complain about questions
directed to me.)
Sample code for something like your problem is attached.
MeshPy git adds the quality_meshing=False flag, if that's what you need.