Represents a lane on a road network.
More...
|
| Lane () |
| Initializes a new instance of the Lane class.
|
|
| Lane (int id, int roadId) |
| Initializes a new instance of the Lane class with the specified ID and road ID.
|
|
| Lane (int id, int roadId, List<(int, int)> nextRoadAndLaneIds, List<(int, int)> physicalNextRoadAndLaneIds) |
| Initializes a new instance of the Lane class with the specified ID, road ID, next road and lane IDs, and physical next road and lane IDs.
|
|
| Lane (int id, int roadId, List< AStarWaypoint > waypoints, List<(int, int)> nextRoadAndLaneIds) |
| Initializes a new instance of the Lane class with the specified ID, road ID, waypoints, and next road and lane IDs.
|
|
|
int | Id [get, set] |
|
int | RoadId [get, set] |
|
List< AStarWaypoint > | Waypoints [get, set] |
|
List<(int, int)> | NextRoadAndLaneIds [get, set] |
|
List<(int, int)> | PhysicalNextRoadAndLaneIds [get, set] |
|
Represents a lane on a road network.
◆ Lane() [1/3]
Entity.Lane.Lane |
( |
int |
id, |
|
|
int |
roadId |
|
) |
| |
|
inline |
Initializes a new instance of the Lane class with the specified ID and road ID.
- Parameters
-
id | The ID of the lane. |
roadId | The ID of the road the lane belongs to. |
◆ Lane() [2/3]
Entity.Lane.Lane |
( |
int |
id, |
|
|
int |
roadId, |
|
|
List<(int, int)> |
nextRoadAndLaneIds, |
|
|
List<(int, int)> |
physicalNextRoadAndLaneIds |
|
) |
| |
|
inline |
Initializes a new instance of the Lane class with the specified ID, road ID, next road and lane IDs, and physical next road and lane IDs.
- Parameters
-
id | The ID of the lane. |
roadId | The ID of the road the lane belongs to. |
nextRoadAndLaneIds | A list of tuples representing the IDs of the next road and lane the vehicle can move to from this lane. |
physicalNextRoadAndLaneIds | A list of tuples representing the IDs of the next physical road and lane the vehicle can move to from this lane. |
◆ Lane() [3/3]
Entity.Lane.Lane |
( |
int |
id, |
|
|
int |
roadId, |
|
|
List< AStarWaypoint > |
waypoints, |
|
|
List<(int, int)> |
nextRoadAndLaneIds |
|
) |
| |
|
inline |
Initializes a new instance of the Lane class with the specified ID, road ID, waypoints, and next road and lane IDs.
- Parameters
-
id | The ID of the lane. |
roadId | The ID of the road the lane belongs to. |
waypoints | A list of AStarWaypoints representing the path of the lane. |
nextRoadAndLaneIds | A list of tuples representing the IDs of the next road and lane the vehicle can move to from this lane. |
The documentation for this class was generated from the following file:
- C:/Users/stefa/source/repos/AI_Testing_Simulator/Unity/Assets/Entities/Lane.cs