Crate copc_rs

source ·
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

Structs

Enums

  • Select points within bounds
  • Limits the octree levels to be queried in order to have a point cloud with the requested resolution.