Skip to content
Snippets Groups Projects
Commit 439ecfbc authored by YE Victor's avatar YE Victor
Browse files

EXTREME diminution de la taille des droites

parent c1bb5736
No related branches found
No related tags found
No related merge requests found
...@@ -532,8 +532,8 @@ def extreme_result(): ...@@ -532,8 +532,8 @@ def extreme_result():
x0, y0 = coord_m[ref] x0, y0 = coord_m[ref]
angle_rad = np.radians(angles[key]) angle_rad = np.radians(angles[key])
dx = np.sin(angle_rad) * 1.1e6 dx = np.sin(angle_rad) * 1.e6
dy = np.cos(angle_rad) * 1.1e6 dy = np.cos(angle_rad) * 1.e6
droites.append(LineString([(x0 - dx, y0 - dy), (x0 + dx, y0 + dy)])) droites.append(LineString([(x0 - dx, y0 - dy), (x0 + dx, y0 + dy)]))
intersections = [] intersections = []
...@@ -615,8 +615,8 @@ def extreme_result(): ...@@ -615,8 +615,8 @@ def extreme_result():
continue continue
x0, y0 = coord_m[ref] x0, y0 = coord_m[ref]
angle_rad = np.radians(angles[key]) angle_rad = np.radians(angles[key])
dx = np.sin(angle_rad) * 1.1e6 dx = np.sin(angle_rad) * 1.075e6
dy = np.cos(angle_rad) * 1.1e6 dy = np.cos(angle_rad) * 1.075e6
ax.plot([x0 - dx, x0 + dx], [y0 - dy, y0 + dy], linestyle='--', linewidth=1, color='blue', alpha=0.3) ax.plot([x0 - dx, x0 + dx], [y0 - dy, y0 + dy], linestyle='--', linewidth=1, color='blue', alpha=0.3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment