Lane Group¶
- class py123d.datatypes.map_objects.LaneGroup[source]¶
Class representing a group of lanes going in the same direction.
Public Data Attributes:
layerThe
MapLayerof the map object.lane_idsList of IDs of the lanes in the group.
lanesList of
Laneinstances in the group.left_boundaryThe left boundary of the lane group.
right_boundaryThe right boundary of the lane group.
intersection_idID of the intersection the lane group belongs to, if available.
intersectionThe
Intersectionthe lane group belongs to, if available.predecessor_idsList of IDs of the predecessor lane groups.
predecessorsList of predecessor
LaneGroupinstances.successor_idsList of IDs of the successor lane groups.
successorsList of successor
LaneGroupinstances.trimesh_meshThe trimesh mesh representation of the lane group.
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 group.
- property right_boundary: Polyline3D¶
The right boundary of the lane group.
- property intersection_id: str | int | None¶
ID of the intersection the lane group belongs to, if available.
- property intersection: Intersection | None¶
The
Intersectionthe lane group belongs to, if available.
- property trimesh_mesh: Trimesh¶
The trimesh mesh representation of the lane group.
- 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.