Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Better maps with Math::Geometry::Voronoi, and a Challenge for Math Monksby toma (Vicar) |
on Jul 03, 2008 at 04:49 UTC ( [id://695294]=note: print w/replies, xml ) | Need Help?? |
I suggest using Triangle (offsite link) to mesh your data, then load the resultant undirected graph into the Graph module, then do whatever work needs to be done. Triangle will handle whatever challenges your data has, unless it doesn't, in which case you can clean up the data on the way in to Triangle. If you can't clean it up, you will have a research project on your hands. This is an example where floating point numbers can be a problem. For example, consider three lines that intersect at a single point. Due to floating point errors, this tends to generate a tiny triangle instead of a single point intersection. Issues such as this are covered in the Triangle documentation.
It should work perfectly the first time! - toma
In Section
Meditations
|
|