Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
RailLabel documentation
RailLabel documentation

Modules

  • raillabel
    • raillabel package
      • raillabel.filter package
        • raillabel.filter._filter_abc module
        • raillabel.filter.end_time_filter module
        • raillabel.filter.exclude_annotation_id_filter module
        • raillabel.filter.exclude_annotation_type_filter module
        • raillabel.filter.exclude_attributes_filter module
        • raillabel.filter.exclude_frame_id_filter module
        • raillabel.filter.exclude_object_id_filter module
        • raillabel.filter.exclude_object_type_filter module
        • raillabel.filter.exclude_sensor_id_filter module
        • raillabel.filter.exclude_sensor_type_filter module
        • raillabel.filter.include_annotation_id_filter module
        • raillabel.filter.include_annotation_type_filter module
        • raillabel.filter.include_attributes_filter module
        • raillabel.filter.include_frame_id_filter module
        • raillabel.filter.include_object_id_filter module
        • raillabel.filter.include_object_type_filter module
        • raillabel.filter.include_sensor_id_filter module
        • raillabel.filter.include_sensor_type_filter module
        • raillabel.filter.start_time_filter module
      • raillabel.format package
        • raillabel.format._attributes module
        • raillabel.format._sensor_without_intrinsics module
        • raillabel.format._util module
        • raillabel.format.bbox module
        • raillabel.format.camera module
        • raillabel.format.cuboid module
        • raillabel.format.frame module
        • raillabel.format.frame_interval module
        • raillabel.format.gps_imu module
        • raillabel.format.intrinsics_pinhole module
        • raillabel.format.intrinsics_radar module
        • raillabel.format.lidar module
        • raillabel.format.metadata module
        • raillabel.format.num module
        • raillabel.format.object module
        • raillabel.format.other_sensor module
        • raillabel.format.point2d module
        • raillabel.format.point3d module
        • raillabel.format.poly2d module
        • raillabel.format.poly3d module
        • raillabel.format.quaternion module
        • raillabel.format.radar module
        • raillabel.format.scene module
        • raillabel.format.seg3d module
        • raillabel.format.sensor_reference module
        • raillabel.format.size2d module
        • raillabel.format.size3d module
        • raillabel.format.transform module
      • raillabel.json_format package
        • raillabel.json_format._json_format_base module
        • raillabel.json_format.attributes module
        • raillabel.json_format.bbox module
        • raillabel.json_format.boolean_attribute module
        • raillabel.json_format.coordinate_system module
        • raillabel.json_format.cuboid module
        • raillabel.json_format.element_data_pointer module
        • raillabel.json_format.frame module
        • raillabel.json_format.frame_interval module
        • raillabel.json_format.metadata module
        • raillabel.json_format.num module
        • raillabel.json_format.num_attribute module
        • raillabel.json_format.object module
        • raillabel.json_format.object_data module
        • raillabel.json_format.poly2d module
        • raillabel.json_format.poly3d module
        • raillabel.json_format.scene module
        • raillabel.json_format.stream_camera module
        • raillabel.json_format.stream_other module
        • raillabel.json_format.stream_radar module
        • raillabel.json_format.stream_sync module
        • raillabel.json_format.text_attribute module
        • raillabel.json_format.transform_data module
        • raillabel.json_format.vec module
        • raillabel.json_format.vec_attribute module
      • raillabel.scene_builder package
        • raillabel.scene_builder.scene_builder module
Back to top
View this page

raillabel.format.size3d module¶

class raillabel.format.size3d.Size3d(x: float, y: float, z: float)¶

Bases: object

The 3D size of a cube.

classmethod from_json(json: tuple[float, float, float]) → Size3d¶

Construct an instant of this class from RailLabel JSON data.

to_json() → tuple[float, float, float]¶

Export this object into the RailLabel JSON format.

x: float¶

The size along the x-axis.

y: float¶

The size along the y-axis.

z: float¶

The size along the z-axis.

Next
raillabel.format.transform module
Previous
raillabel.format.size2d module
Copyright © DB InfraGO AG and the raillabel contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • raillabel.format.size3d module
    • Size3d
      • Size3d.from_json()
      • Size3d.to_json()
      • Size3d.x
      • Size3d.y
      • Size3d.z