Skip to content
Snippets Groups Projects
Commit 82434cba authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: almost working grid

parent 59f733bd
No related branches found
No related tags found
1 merge request!6Clhp map
No preview for this file type
......@@ -206,7 +206,7 @@ def populate_new_edge(split_shape, remaining_shape, cell_size: float, divisor: f
# Insert new points with cell_size spacing while starting_point is within bounds
while starting_point < sorted_corners[-1].x:
split_shape.insert(0, (starting_point, divisor)) # NB may have to add/subtract small offset of 0.00001
remaining_shape.insert(0, (starting_point, divisor)) # Prepend new point to shape
remaining_shape.insert(-1, (starting_point, divisor)) # Prepend new point to shape
print("Hit point insertion")
starting_point += cell_size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment