윤영준 윤영준 2023-06-14
added return description of get_lecc
@cf4631f7427fdafa1c84d6d318fc43b88d46ee00
algorithms/voronoi.py
--- algorithms/voronoi.py
+++ algorithms/voronoi.py
@@ -24,6 +24,10 @@
     It is used for optimizing text placement and size using Voronoi diagram in this project
     Arguments:
     shp -- shape object
+
+    returns -
+    lecc : which is largest enclosed circle
+    lecc_dist : which is radius of largest enclosed circle
     """
     num_area = len(shp)
     polygons_coord = shp.geometry.apply(coord_lister)
Add a comment
List