Skip to content

Commit

Permalink
FIX: Fix remove_self_intersections documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
drewm102 committed Oct 24, 2024
1 parent e4b18b8 commit e8dc788
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ansys/edb/core/geometry/polygon_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def has_self_intersections(self, tol=1e-9):

@parser.to_polygon_data_list
def remove_self_intersections(self, tol=1e-9):
"""Create a polygon with all self-intersections removed.
"""Remove self-intersections from this polygon.
Parameters
----------
Expand All @@ -236,7 +236,8 @@ def remove_self_intersections(self, tol=1e-9):
Returns
-------
PolygonData
list[.PolygonData]
A list of non self-intersecting polygons.
"""
return self.__stub.RemoveSelfIntersections(
messages.polygon_data_with_tol_message(self, tol)
Expand Down

0 comments on commit e8dc788

Please sign in to comment.