WOLFRAM|DEMONSTRATIONS PROJECT

A Test for the Convexity of a Quadrilateral

​
This Demonstration draws the quadrilateral green if convex, orange if concave, and red if reflex.