Skip to content

Commit 6fb2b15

Browse files
committed
earclip docstring correction
1 parent 3d94838 commit 6fb2b15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compas/geometry/triangulation_earclip.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,13 @@ def earclip_polygon(polygon):
256256
257257
Parameters
258258
----------
259-
polygon : :class:`compas.geometry.Polygon` | list[:class:`compas.geometry.Point`]
259+
polygon : :class:`compas.geometry.Polygon`
260260
A polygon defined by a sequence of points.
261261
262262
Returns
263263
-------
264-
list[[point, point, point]]
265-
A list of triangles.
264+
list[[int, int, int]]
265+
A list of triangles referencing the points of the original polygon.
266266
267267
Raises
268268
------

0 commit comments

Comments
 (0)