
--- algorithms/voronoi.py
+++ algorithms/voronoi.py
... | ... | @@ -24,6 +24,10 @@ |
24 | 24 |
It is used for optimizing text placement and size using Voronoi diagram in this project |
25 | 25 |
Arguments: |
26 | 26 |
shp -- shape object |
27 |
+ |
|
28 |
+ returns - |
|
29 |
+ lecc : which is largest enclosed circle |
|
30 |
+ lecc_dist : which is radius of largest enclosed circle |
|
27 | 31 |
""" |
28 | 32 |
num_area = len(shp) |
29 | 33 |
polygons_coord = shp.geometry.apply(coord_lister) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?