circumscribed

Makes a circumscribed regular polygon given a side count, a center, and a point in the middle of an edge. Note that vertex defines the size of the polygon and also its angle.


sideCount : Integer
Number of sides

center : Point
Center point

vertex : Point
Point in middle of polygon edge