Compute the max sized inlying circle in the given convex (!) polygon - also called the
convex-polygon incircle.
The function will return an object with either: the circle, and the triangle that defines
the three tangent points where the circle touches the polygon.
Compute the max sized inlying circle in the given convex (!) polygon - also called the convex-polygon incircle.
The function will return an object with either: the circle, and the triangle that defines the three tangent points where the circle touches the polygon.
Inspired by https://observablehq.com/@mbostock/convex-polygon-incircle https://observablehq.com/@mbostock/circle-tangent-to-three-lines