Document output of polygon_area

This commit is contained in:
Stefan van der Walt
2014-09-29 01:21:24 +02:00
committed by Stefan van der Walt
parent 4907da0409
commit ad70668bc6
+5
View File
@@ -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)