open3d.io.write_voxel_grid¶
-
open3d.io.write_voxel_grid(filename, voxel_grid, write_ascii=False, compressed=False)¶ Function to write VoxelGrid to file
- Parameters
filename (str) – Path to file.
voxel_grid (open3d.geometry.VoxelGrid) – The
VoxelGridobject for I/Owrite_ascii (bool, optional, default=False) – Set to
Trueto output in ascii format, otherwise binary format will be used.compressed (bool, optional, default=False) – Set to
Trueto write in compressed format.
- Returns
bool