If you collect the edges together into continuous boundaries, then you'd get the expected external border. Then you'd wind up with more edges. Collecting a continuous list of those would yield an internal polygon. Rinse, lather, repeat until you exhaust the list of perimeter segments. Would that be acceptable to you, or do you need something different? If you have a particular way you want to represent them, let me know, and I'll see what I can do...
...roboticusIn reply to Re^3: Better maps with Math::Geometry::Voronoi, and a Challenge for Math Monks
by roboticus
in thread Better maps with Math::Geometry::Voronoi, and a Challenge for Math Monks
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |