AI Testing Simulator
Loading...
Searching...
No Matches
Entity.Lane Class Reference

Represents a lane on a road network. More...

Public Member Functions

 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.
 

Properties

int Id [get, set]
 
int RoadId [get, set]
 
List< AStarWaypointWaypoints [get, set]
 
List<(int, int)> NextRoadAndLaneIds [get, set]
 
List<(int, int)> PhysicalNextRoadAndLaneIds [get, set]
 

Detailed Description

Represents a lane on a road network.

Constructor & Destructor Documentation

◆ 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
idThe ID of the lane.
roadIdThe 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
idThe ID of the lane.
roadIdThe ID of the road the lane belongs to.
nextRoadAndLaneIdsA list of tuples representing the IDs of the next road and lane the vehicle can move to from this lane.
physicalNextRoadAndLaneIdsA 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
idThe ID of the lane.
roadIdThe ID of the road the lane belongs to.
waypointsA list of AStarWaypoints representing the path of the lane.
nextRoadAndLaneIdsA 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: