Document output of polygon_area

This commit is contained in:
Stefan van der Walt authored and Stefan van der Walt committed 2016-02-02 08:25:41 -08:00
1 parent 4907da0409
commit ad70668bc6
1 file changed
+5
+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)