add note about size if resulting polygonal curves

This commit is contained in:
Johannes Schönberger
2012-08-15 08:50:31 +02:00
committed by Stefan van der Walt
parent 40c58f3333
commit 339c33eac3
+6
View File
@@ -7,6 +7,9 @@ def approximate_polygon(coords, tolerance):
It is based on the Douglas-Peucker algorithm.
Note that the approximated polygon is always within the convex hull of the
original polygon.
Parameters
----------
coords : (N, 2) array
@@ -106,6 +109,9 @@ SUBDIVISION_DEGREES = {
def subdivide_polygon(coords, degree=2):
"""Subdivision of polygonal curves using B-Splines.
Note that the resulting curve is always within the convex hull of the
original polygon.
Parameters
----------
coords : (N, 2) array