Skip to content

Commit

Permalink
add curvatures to random borders
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanin69 committed Jun 20, 2024
1 parent 2af14f1 commit 1d13754
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 176 deletions.
167 changes: 0 additions & 167 deletions AgriFieldGenerator/processing/polygon_post_process.py

This file was deleted.

4 changes: 2 additions & 2 deletions AgriFieldGenerator/processing/voronoi_colorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ def process(self):

# Create a graph
G = nx.Graph()

pbar.update(1)

# Add nodes to the graph
for i, poly in enumerate(self.intersection_polygons):
G.add_node(i)

pbar.update(1)

# Add edges to the graph
for i, poly1 in enumerate(self.intersection_polygons):
for j, poly2 in enumerate(self.intersection_polygons):
Expand Down
Loading

0 comments on commit 1d13754

Please sign in to comment.