11,000+
Interactive Demonstrations Powered by Notebook Technology »
TOPICS
LATEST
ABOUT
AUTHORING AREA
PARTICIPATE
Your browser does not support JavaScript or it may be disabled!
Is a Point Inside or Outside a Regular Polygon?
This Demonstration determines whether a point is inside or outside a polygon by summing the angles between adjacent vertices and the point in question. If the sum is (approximately)
, the point is inside; otherwise, it is outside.
Contributed by:
Jon Perry
THINGS TO TRY
Automatic Animation
SNAPSHOTS
DETAILS
For more information, see the Wikipedia entry for
Point in polygon
.
PERMANENT CITATION
"
Is a Point Inside or Outside a Regular Polygon?
" from
the Wolfram Demonstrations Project
http://demonstrations.wolfram.com/IsAPointInsideOrOutsideARegularPolygon/
Contributed by:
Jon Perry
Share:
Embed Interactive Demonstration
New!
Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site.
More details »
Download Demonstration as CDF »
Download Author Code »
(preview »)
Files require
Wolfram
CDF Player
or
Mathematica
.
Related Demonstrations
More by Author
Chains of Regular Polygons and Polyhedra
George Beck
An Efficient Test for a Point to Be in a Convex Polygon
Robert Nowak
Fermat-Weber Point of a Polygonal Chain
Bhaswar B. Bhattacharya
Iterative Polygon Simplification
Seth J. Chandler
Decomposing a Random Newton Polygon
Kevin Choi
Point in Triangle
Michael John Twardos
B-Spline Curves from Voronoi Polygon Vertices
Enrique Zeleny
Sylvester's Four-Point Problem
Ed Pegg Jr
Testing a Polygon for Convexity and Self-Intersection
Jaime Rangel-Mondragon
Self-Intersecting Polygons
Stephen Wolfram
Related Topics
Computational Geometry
Polygons
Browse all topics