From 59f733bdbd0c69a92f5212850ac22e8c1b16da07 Mon Sep 17 00:00:00 2001
From: Sara <sarasdj@stud.ntnu.no>
Date: Wed, 13 Mar 2024 13:06:16 +0100
Subject: [PATCH] :add: disco ball :)

---
 .../__pycache__/get_relation.cpython-311.pyc  | Bin 7480 -> 7480 bytes
 server/map/get_relation.py                    |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/map/__pycache__/get_relation.cpython-311.pyc b/server/map/__pycache__/get_relation.cpython-311.pyc
index d8abc88c3545f0521eb620e7ff3bbd18cdadcf63..2d37bcfac8dc8206bf7c1e617e77af1be98c6fc4 100644
GIT binary patch
delta 53
zcmdmCwZn>cIWI340}$v;`<NQHk@tf*`>dHDuyZqu#CAp==b5@I)HgV<)V&~Kx%s$c
GAu|B^XcMad

delta 53
zcmdmCwZn>cIWI340}!m6`Y|<OBku=s_G*!J?hmV4HnT`<XXJ62skg#>L&!?I3li3w
Jk4qLZ0|54I6L$ar

diff --git a/server/map/get_relation.py b/server/map/get_relation.py
index ae404a2c..197d3b17 100644
--- a/server/map/get_relation.py
+++ b/server/map/get_relation.py
@@ -182,7 +182,7 @@ def populate_new_edge(split_shape, remaining_shape, cell_size: float, divisor: f
         # Create list of corners
         corners = []
 
-        divisor_range = ((divisor - 0.01),(divisor + 0.01))
+        divisor_range = ((divisor - 0.1),(divisor + 0.1)) # Define tolerance
 
         # Find all corners of split shape. Corner = point that intersects divisor
         for point in split_shape:
-- 
GitLab