Skip to main content

write_las_binary_minimal

Function write_las_binary_minimal 

Source
pub fn write_las_binary_minimal(points: &[[f64; 3]], scale: f64) -> Vec<u8> 
Expand description

Write a minimal LAS 1.4 binary file from a slice of world-space points.

Uses Point Data Format 0 with a 375-byte header and a scale factor of scale (default 0.001 m = 1 mm precision) and no offset. Intended only for round-trip testing of read_las_binary.