raillabel.json_format.poly3d module¶
- class raillabel.json_format.poly3d.JSONPoly3d(*, name: str, val: list[float], closed: bool, coordinate_system: str, uid: UUID | None = None, attributes: JSONAttributes | None = None)¶
Bases:
_JSONFormatBase
A 3D polyline defined as a sequence of 3D points.
- _abc_impl = <_abc._abc_data object>¶
- attributes: JSONAttributes | None¶
- closed: bool¶
A boolean that defines whether the polyline is closed or not. In case it is closed, it is assumed that the last point of the sequence is connected with the first one.
- coordinate_system: str¶
Name of the coordinate system in respect of which this object data is expressed.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].