What is the formula for the center of an
n-edge regular polygon that has the given segment as its edge?
So, given a segment
AB, with endpoints
B=(b1,b2), I need to find out the two points
Y=(y1,y2), such that the
n-edge regular polygon with center at
X, and the one with center at
AB as their edge.