7898
TOPICS
LATEST
ABOUT
AUTHORING AREA
PARTICIPATE
Your browser does not support JavaScript or it may be disabled!
A Test for the Convexity of a Quadrilateral
This Demonstration draws the quadrilateral green if convex, orange if concave, and red if reflex.
Contributed by:
Jon Perry
THINGS TO TRY
Drag Locators
Automatic Animation
SNAPSHOTS
DETAILS
The idea is to check if the diagonals of the quadrilateral intersect as line segments. See P. Bourke, "
Intersection Point of Two Lines (2 Dimensions)"
and take note of the last paragraph. The formulas involve determinants; see the Wikipedia entry, "
Line-Line Intersection"
.
RELATED LINKS
Concave Polygon
(
Wolfram
MathWorld
)
Convex Polygon
(
Wolfram
MathWorld
)
PERMANENT CITATION
"
A Test for the Convexity of a Quadrilateral
" from
the Wolfram Demonstrations Project
http://demonstrations.wolfram.com/ATestForTheConvexityOfAQuadrilateral/
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
An Efficient Test for a Point to Be in a Convex Polygon
Robert Nowak
Hyperbolic Quadrilateral
Ron Grosz
Quadrilateral Slide
Izidor Hafner
A Cyclic Quadrilateral Concurrency
Jay Warendorff
The Midpoint Quadrilateral Theorem
Jay Warendorff
Area of a Quadrilateral by Triangulation
Alvaro Jose Ibarra Rivas (Institucion Educativa Santa Fe, Santiago de Cali - Colombia)
Perpendicular Lines Generated by a Quadrilateral
Jay Warendorff
Four Concurrent Lines in a Cyclic Quadrilateral
Jay Warendorff
Opposite Angles of a Quadrilateral in a Circle
Jay Warendorff
Classifying Quadrilaterals
Sarah Lichtblau
Related Topics
Plane 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+