Lane¶
- class py123d.datatypes.map_objects.Lane[source]¶
Class representing a lane in a map.
Public Data Attributes:
layerThe
MapLayerof the map object.lane_group_idID of the lane group this lane belongs to.
lane_groupThe
LaneGroupthis lane belongs to.left_boundaryThe left boundary of the lane as a
Polyline3D.right_boundaryThe right boundary of the lane as a
Polyline3D.centerlineThe centerline of the lane as a
Polyline3D.left_lane_idID of the left neighboring lane.
left_laneThe left neighboring
Lane, if available.right_lane_idID of the right neighboring lane.
right_laneThe right neighboring
Lane, if available.predecessor_idsList of IDs of the predecessor lanes.
predecessorsList of predecessor
Laneinstances.successor_idsList of IDs of the successor lanes.
successorsList of successor
Laneinstances.speed_limit_mpsThe speed limit of the lane in meters per second.
trimesh_meshThe trimesh mesh representation of the lane.
Inherited from
BaseMapSurfaceObjectoutlineThe outline of the surface as either
Polyline2DorPolyline3D.outline_2dThe outline of the surface as
Polyline2D.outline_3dThe outline of the surface as
Polyline3D(zero-padded to 3D if necessary).shapely_polygonThe shapely polygon of the surface.
trimesh_meshThe trimesh mesh representation of the surface.
Inherited from
BaseMapObjectobject_idThe unique identifier of the map object (unique within a map layer).
layerThe
MapLayerof the map object.
- property left_boundary: Polyline3D¶
The left boundary of the lane as a
Polyline3D.
- property right_boundary: Polyline3D¶
The right boundary of the lane as a
Polyline3D.
- property centerline: Polyline3D¶
The centerline of the lane as a
Polyline3D.
- property trimesh_mesh: Trimesh¶
The trimesh mesh representation of the lane.
- property outline: Polyline2D | Polyline3D¶
The outline of the surface as either
Polyline2DorPolyline3D.
- property outline_2d: Polyline2D¶
The outline of the surface as
Polyline2D.
- property outline_3d: Polyline3D¶
The outline of the surface as
Polyline3D(zero-padded to 3D if necessary).
- property shapely_polygon: Polygon¶
The shapely polygon of the surface.