Add line object

This commit is contained in:
2024-05-26 18:37:33 +02:00
parent 0d4bd5906b
commit 2e66a539cf
7 changed files with 166 additions and 67 deletions

View File

@@ -1,3 +0,0 @@
class Lane:
def __init__(self, coordinates, lane_type):
pass

View File

@@ -1,7 +1,7 @@
class Road:
def __init__(self, coordinates, road_type):
self.coordinates = coordinates # List of tuples (x1, y1, z1) in order
def __init__(self, coordinates):
self.coordinates = coordinates # List of tuples (x1, y1, z1) in order
self.road_type = road_type # 'road', 'highway'
def place_roads(self):
pass
pass