11315
EXPLORE
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
Point in Triangle
Michael John Twardos
Decomposing a Random Newton Polygon
Kevin Choi
B-Spline Curves from Voronoi Polygon Vertices
Enrique Zeleny
Testing a Polygon for Convexity and Self-Intersection
Jaime Rangel-Mondragon
Self-Intersecting Polygons
Stephen Wolfram
Fate of the Euler Line and the Nine-Point Circle on the Sphere
Paolo Maraner
Related Topics
Computational Geometry
Polygons
Browse all topics
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to
Mathematica Player 7EX
I already have
Mathematica Player
or
Mathematica 7+