Struct laz::LazVlrBuilder
source · pub struct LazVlrBuilder { /* private fields */ }
Expand description
Builder struct to personalize the LazVlr
Examples
let vlr = laz::LazVlrBuilder::default()
.with_point_format(1, 0)?
.build();
let vlr = laz::LazVlrBuilder::default()
.with_point_format(1, 0)?
.with_fixed_chunk_size(60_000)
.build();
Implementations§
source§impl LazVlrBuilder
impl LazVlrBuilder
pub fn new(laz_items: Vec<LazItem>) -> Self
pub fn with_point_format(
self,
point_format_id: u8,
num_extra_bytes: u16
) -> Result<Self>
pub fn with_laz_items(self, laz_items: Vec<LazItem>) -> Self
pub fn with_fixed_chunk_size(self, chunk_size: u32) -> Self
pub fn with_variable_chunk_size(self) -> Self
pub fn build(self) -> LazVlr
pub fn with_chunk_size(self, chunk_size: u32) -> Self
👎Deprecated since 0.6.0: Please use LazVlrBuilder::with_fixed_chunk_size
pub fn from_laz_items(laz_items: Vec<LazItem>) -> Self
👎Deprecated since 0.6.0: Please use LazVlrBuilder::new(laz_items)