mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 11:10:36 +08:00
Document output of polygon_area
This commit is contained in:
committed by
Stefan van der Walt
parent
4907da0409
commit
ad70668bc6
@@ -42,6 +42,11 @@ def polygon_area(py, px):
|
||||
----------
|
||||
py, px : (N,) array of float
|
||||
Polygon coordinates.
|
||||
|
||||
Returns
|
||||
-------
|
||||
a : float
|
||||
Area of the polygon.
|
||||
"""
|
||||
py = np.asarray(py)
|
||||
px = np.asarray(px)
|
||||
|
||||
Reference in New Issue
Block a user