pysdic.PointCloud.to_dict#
- PointCloud.to_dict(*, save_properties=True)[source]#
Convert the point cloud to a flat dictionary.
The coordinates are stored under the key
"coordinates"and the properties under the keys"_property/{property_name}". All the arrays are copies.Note
The dictionary is flat (one level), as required by the NPZ format. See
pysdic.core.serialization.NpzSerializerMixin.- Parameters:
save_properties (bool, optional (default:
True)) – If False, the properties are not included.- Returns:
The dictionary representation of the point cloud.
- Return type:
Dict[str, Any]