src.inout.point_cloud_io
Classes
- class src.inout.point_cloud_io.PointCloudIO
- Author:
Alberto M. Esmoris Pena
Class with util static methods for input/output operations related to point clouds.
- static read(path)
Read a LAS/LAZ point cloud.
- Parameters:
path – Path pointing to a LAS/LAZ point cloud.
- Returns:
The read point cloud.
- Return type:
- static read_path(path)
Read a LAS/LAZ point cloud file.
- Parameters:
path (str) – Path pointing to a LAS/LAZ point cloud file.
- Returns:
The read point cloud.
- Return type:
- static read_url(url, chunk_size=67108864)
Read a LAS/LAZ point cloud file from a given URL.
See
npu.io_utils.IOUtils.download_from_url().- Parameters:
url (str) – The URL corresponding to a LAS/LAZ point cloud.
chunk_size (float) – The chunk size for each reading operation on the input stream (in Bytes, def. 64 MiB).
- Returns:
- static write(pcloud, path)
Write a LAS/LAZ point cloud file.
- Parameters:
pcloud – The point cloud to be written.
path – Path where the LAS/LAZ file must be written.
- Returns:
Nothing.