procedure rpoly: generate polygon points
link rpolys
March 24, 1999; Ralph E. Griswold
This file is in the public domain.
Generate points for a regular polygon with the specified number of vertices and radius, centered at cx and cy. The offset angle is theta; default 0.