tls_read_hancock_bin

Crates.iotls_read_hancock_bin
lib.rstls_read_hancock_bin
version0.1.1
sourcesrc
created_at2019-11-08 00:10:55.218732
updated_at2019-11-08 00:12:52.94273
descriptionReader for the Hancock terrestrial LiDAR binary polar format, see https://bitbucket.org/StevenHancock/libclidar.
homepagehttps://github.com/caiohamamura/rs_hancock_read_bin
repositoryhttps://github.com/caiohamamura/rs_hancock_read_bin
max_upload_size
id179201
size6,541
Caio Hamamura (caiohamamura)

documentation

README

tls_read_hancock_bin

Reader for the Hancock terrestrial LiDAR binary polar format, see https://bitbucket.org/StevenHancock/libclidar.

Example

Cargo.toml:

[dependencies]
tls_read_hancock_bin = "0.1.1"

And in your rust code:

extern crate hancock_read_bin;
use hancock_read_bin::HancockReader;

// [...]

let file_path_str = String::from("some_path.bin");
let mut beam_reader = HancockReader::new(file_path_str).unwrap();

println!("Number of beams: {}", beam_reader.n_beams);

while let Some(data) in beam_reader.into_iter() {
    println!("\r{:?}", data);
}

Commit count: 26

cargo fmt