Struct laz::LazVlr [−][src]
pub struct LazVlr { /* fields omitted */ }
Expand description
The data stored in the record_data of the Laszip Vlr
This vlr contains information needed to compress or decompress LAZ/LAS data. Such as the points per chunk, the fields & version of the compression/decompression algorithm.
To create one from scratch, see the LazVlrBuilder
Implementations
The description of the LasZip VLR header.
Creates a new LazVlr
With fixed-size chunks.
panics
Will panic if items
is empty or contains invalid items.
Tries to read the Vlr information from the record_data source
Writes the Vlr to the source.
This only write the record_data the header should be written before-hand.
Returns whether the chunk size is variable.
Returns the chunk size, that is, the number of points in each chunk.
This is only valid if Self::uses_variable_size_chunks
returns false.
Returns the sum of the size of the laz_items, which should correspond to the expected size of points (uncompressed).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LazVlr
impl UnwindSafe for LazVlr
Blanket Implementations
Mutably borrows from an owned value. Read more