Regular polygons in the plane

### 26.9.2 Regular polygons in the plane

See Section 27.8.2 for regular polygons in space.

The isopolygon command creates regular polygons.

- isopolygon takes three arguments:
  - A,B, two points.
  - k, a nonzero integer.
- isopolygon(A,B,k returns and draws the regular |k|-sided polygon with one side AB. If k > 0, then the polygon will continue counterclockwise; if k < 0, then it will be clockwise.

#### Examples

isopolygon(1+i,1-i,4)

isopolygon(1+i,1-i,-4)