# Regular polygon

Constructs a regular polygon.

#### regular_polygon(Integer)

Given an integer , constructs a regular polygon of sides, centered at the origin, with radius 1.

#### regular_polygon(Integer, Real)

Given an integer and a real , constructs a regular polygon of sides, centered at the origin, with radius .

#### regular_polygon(Integer, Point)

Given an integer and a point , constructs a regular polygon of sides, centered at , with radius 1.

#### regular_polygon(Integer, Point, Real)

Given an integer , a point and a real , constructs a regular polygon of sides, centered at , with radius .

#### regular_polygon(Integer, Segment)

Given an integer and a segment , constructs a regular polygon of sides with an edge matching .

#### regular_polygon(Integer, Point, Point)

Given an integer and two points and , constructs a regular polygon of sides with an edge matching the segment .