in reply to edge of polygon

are you trying to find the smallest circle enclosing a set of points ?