minor_axis_angle
cellseg_gsontools.geometry.minor_axis_angle(polygon)
¶
Compute the minor axis angle of a polygon.
Note
The minor axis is the (x,y) endpoints of the longest line that can be drawn through the object whilst remaining perpendicular with the major-axis. Minor axis angle is the angle of the minor axis with respect to the x-axis. - Wirth
Parameters:
Name | Type | Description | Default |
---|---|---|---|
polygon |
Polygon
|
Input shapely polygon object. |
required |
Returns:
Name | Type | Description |
---|---|---|
float |
float
|
The angle of the minor axis in degrees. |