Generic Drivable

class py123d.datatypes.map_objects.GenericDrivable[source]

Class representing a generic drivable area in a map. Can overlap with other drivable areas, depending on the dataset.

Public Data Attributes:

layer

The MapLayer of the map object.

Inherited from BaseMapSurfaceObject

outline

The outline of the surface as either Polyline2D or Polyline3D.

outline_2d

The outline of the surface as Polyline2D.

outline_3d

The outline of the surface as Polyline3D (zero-padded to 3D if necessary).

shapely_polygon

The shapely polygon of the surface.

trimesh_mesh

The trimesh mesh representation of the surface.

Inherited from BaseMapObject

object_id

The unique identifier of the map object (unique within a map layer).

layer

The MapLayer of the map object.


property layer: MapLayer

The MapLayer of the map object.

property object_id: str | int

The unique identifier of the map object (unique within a map layer).

property outline: Polyline2D | Polyline3D

The outline of the surface as either Polyline2D or Polyline3D.

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.

property trimesh_mesh: Trimesh

The trimesh mesh representation of the surface.