RDG-Networks 0.1.7__py3-none-any.whl → 0.1.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RDG-Networks
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Most of the code from the RDG Networks project
5
5
  Home-page: https://github.com/NiekMooij/RDG_networks
6
6
  Author: Niek Mooij
@@ -3,11 +3,11 @@ RDG_networks/__init__.py,sha256=lbEZ5NwKERxQ4oLXTxWoe8q8f6c_iSx4ZQXDwgx_OP4,759
3
3
  RDG_networks/draw_segments.py,sha256=U53N5GXmQHWKdM1Q1faP_EGKjc6enOu2mcsunzSFpP0,984
4
4
  RDG_networks/generate_line_network.py,sha256=lJ4rhObim3WcEQoebomewRQKWNJC5phFyFYRW7qjXIg,1127
5
5
  RDG_networks/generate_line_segments.py,sha256=QV8_k7q6TD5c7Hcb2Ms_apEdWYw4XdLr7rdJgh49v4Q,9004
6
- RDG_networks/get_intersection_segments.py,sha256=fqWKHuvHnZpzThmrUXHEjL5Bpumh2_qVh1JvfMomegU,2752
6
+ RDG_networks/get_intersection_segments.py,sha256=mXB5qCy1oOps4Vu1mX6flW6v_4Xxc71YK41yOWjJX8o,2797
7
7
  RDG_networks/sample_in_polygon.py,sha256=qpPpW-Da1vK8ZkVWMJ0zBsE8IgyMB619gCdybSkzKSQ,1605
8
- RDG_Networks-0.1.7.dist-info/LICENSE.txt,sha256=Zlv8517YKFuHaaqksoTKeIiQBl9DGxhUdb_0kJg0NOE,1066
9
- RDG_Networks-0.1.7.dist-info/METADATA,sha256=msGIhMY4aNR31lfw0XSl0lM_ksJu7KKBQA11_tIAMuw,1756
10
- RDG_Networks-0.1.7.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
11
- RDG_Networks-0.1.7.dist-info/entry_points.txt,sha256=4LC5qJH7VKpjuuhDR3HpJulO4qy9K5UlAUOGBg6ctxA,268
12
- RDG_Networks-0.1.7.dist-info/top_level.txt,sha256=4gUUYafD5Al9V8ZSiViVGYHpRMMCsCBcGgCNodk9Syg,13
13
- RDG_Networks-0.1.7.dist-info/RECORD,,
8
+ RDG_Networks-0.1.8.dist-info/LICENSE.txt,sha256=Zlv8517YKFuHaaqksoTKeIiQBl9DGxhUdb_0kJg0NOE,1066
9
+ RDG_Networks-0.1.8.dist-info/METADATA,sha256=7oAfTrYytPyZIzFIQu5PhIvvJ_hn0G_BNqw8uAXC1uU,1756
10
+ RDG_Networks-0.1.8.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
11
+ RDG_Networks-0.1.8.dist-info/entry_points.txt,sha256=4LC5qJH7VKpjuuhDR3HpJulO4qy9K5UlAUOGBg6ctxA,268
12
+ RDG_Networks-0.1.8.dist-info/top_level.txt,sha256=4gUUYafD5Al9V8ZSiViVGYHpRMMCsCBcGgCNodk9Syg,13
13
+ RDG_Networks-0.1.8.dist-info/RECORD,,
@@ -54,9 +54,9 @@ def get_intersection_segments(line_segments: List[LineSegment]) -> List[LineSegm
54
54
  # Order intersection points
55
55
  ordered_intersection_points = {}
56
56
  for segment_id, points in intersection_points.items():
57
-
57
+
58
58
  ordered_points = order_points(points, points[0])
59
-
59
+ ordered_points = list(set(ordered_points))
60
60
  ordered_intersection_points[segment_id] = ordered_points
61
61
 
62
62
  # Generate intersection segments