tams.eccentricity#
- tams.eccentricity(p)#
Compute the (first) eccentricity of the least-squares best-fit ellipse to the coordinates of the polygon’s exterior.
Changed in version 0.2.0: Renamed from
calc_ellipse_eccen().See also
- Parameters:
p (shapely.Polygon)
- Return type: