Sketcher CreateRegularPolygon

Description
Draws a regular polygon inscribed in a construction geometry circle. When starting the tool, a box apears asking for the number of sides of the regular polygon. Once the button is pressed the mouse pointer changes to a white cross with a red hexagon icon. The coordinates of the pointer are shown beside it in blue in real time.

Usage

 * 1) After pressing the  button, define the number of sides of the polygon in the pop up box and confirm by pressing the  button.
 * 2) Click once to set the center, then move the mouse and click a second time to set one of the vertices.
 * 3) Pressing  or clicking the right mouse button cancels the function.