Expand description
Library for reading Cloud Optimized Point Cloud (COPC) data.
Usage example:
use copc_rs::{BoundsSelection, CopcReader, LodSelection};
fn main() -> laz::Result<()> {
let laz_file = BufReader::new(File::open("autzen-classified.copc.laz")?);
let mut copc_reader = CopcReader::open(laz_file)?;
for point in copc_reader
.points(LodSelection::Level(0), BoundsSelection::All)
.unwrap()
{
println!("{}, {}, {}", point.x, point.y, point.z);
}
Ok(())
}
Modules§
- header
- Raw file metadata.
Structs§
- Bounds
- 3D bounding box
- Copc
Reader - COPC file reader
- Point
Iter - LasZip point iterator
Enums§
- Bounds
Selection - Select points within bounds
- LodSelection
- Limits the octree levels to be queried in order to have a point cloud with the requested resolution.