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.