tams.calc_ellipse_eccen

tams.calc_ellipse_eccen#

tams.calc_ellipse_eccen(p)#

Compute the (first) eccentricity of the least-squares best-fit ellipse to the coordinates of the polygon’s exterior.

Parameters

p (shapely.geometry.polygon.Polygon) –