This algorithm calculates the center and radius of the maximum inscribed circle of an arbitrary convex polygon in 2D space.
A list of points coordinates which are the vertices of the polygon.
The center and radius of the maximum inscribed circle.
Call the function max_inscribed_circle(points) with a list of the points coordinates which are the vertices of the polygon as an argument. The function returns the center and radius of the maximum inscribed circle.