raillabel.format.transform module¶
- class raillabel.format.transform.Transform(pos: Point3d, quat: Quaternion)¶
Bases:
object
A transformation between two coordinate systems.
- classmethod from_json(json: JSONTransformData) Transform ¶
Construct an instant of this class from RailLabel JSON data.
- quat: Quaternion¶
Rotation quaternion with regards to the parent coordinate system.
- to_json() JSONTransformData ¶
Export this object into the RailLabel JSON format.