7899
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!
Download Demonstration as CDF »
Download Source 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
Self-Intersecting Polygons
Stephen Wolfram
Four-Color Maps
Ed Pegg Jr
Intersecting 3D Triangles
Michael John Twardos
Parity Entangled Links
Michael Schreiber
Tetrix Viewpoints
Michael Schreiber
Related Topics
Computational Geometry
Polygons
Browse all topics
Contribute
Make a new version of this Demonstration
Upload a new Demonstration
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+