Let $C$ be a convex polygon in the plane containing the origin, and let $r(\theta)$ for $\theta\in[0,2\pi)$ be a parametrization of its boundary.  Is there a condition on $r$ that is equivalent to (or necessary for) convexity of $C$?