Syntactic Confectionery Delight | |
PerlMonks |
Re: Polygon Creation -- Request for Algorithm Suggestionsby Anonymous Monk |
on Nov 22, 2017 at 20:21 UTC ( [id://1204067]=note: print w/replies, xml ) | Need Help?? |
You say enclosing polygon, by which I'd assume you need a bounding convex polyhedron; the embedded example however shows a non-convex shape. I don't think this makes much of a sense unless the points were ordered (lines) to begin with. In the example, you could reduce the volume by cutting wedges into the shape, thereby making some of the pruned "internal" points appear in the final shape.
In Section
Seekers of Perl Wisdom
|
|