Am I in a Polygon?

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
This Demonstration answers two fundamental questions: 1) Am I inside a polygon? and if not, 2) What is the closest polygon? The answer to the first question is based on the summation of the angles and is exact, while the answer to the second one is an approximation based on the distance to the centroid of a polygon.
Contributed by: Machi Zawidzki (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
detailSectionParagraphPermanent Citation
"Am I in a Polygon?"
http://demonstrations.wolfram.com/AmIInAPolygon/
Wolfram Demonstrations Project
Published: March 7 2011