changed description of merge_polygons

Clarified that the `merge_polygons` method can produce multiple holes.

(cherry picked from commit 8f01c261f2)
This commit is contained in:
RoniPerson 2021-04-17 15:20:49 +02:00 committed by Rémi Verschelde
parent ad413a613c
commit 6308f4374f
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -286,7 +286,7 @@
</argument> </argument>
<description> <description>
Merges (combines) [code]polygon_a[/code] and [code]polygon_b[/code] and returns an array of merged polygons. This performs [constant OPERATION_UNION] between polygons. Merges (combines) [code]polygon_a[/code] and [code]polygon_b[/code] and returns an array of merged polygons. This performs [constant OPERATION_UNION] between polygons.
The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling [method is_polygon_clockwise]. The operation may result in an outer polygon (boundary) and multiple inner polygons (holes) produced which could be distinguished by calling [method is_polygon_clockwise].
</description> </description>
</method> </method>
<method name="offset_polygon_2d"> <method name="offset_polygon_2d">