Struct las::Header
[−]
[src]
pub struct Header { pub file_source_id: Option<u16>, pub global_encoding: Option<GlobalEncoding>, pub project_id: [u8; 16], pub version: Version, pub system_id: [u8; 32], pub generating_software: [u8; 32], pub file_creation_date: Date<UTC>, pub point_format: Format, pub extra_bytes: u16, pub point_count: u32, pub point_count_by_return: [u32; 5], pub scale: Triple<f64>, pub offset: Triple<f64>, pub bounds: Bounds<f64>, pub vlrs: Vec<Vlr>, pub padding: u32, }
The LAS header.
Fields
file_source_id: Option<u16>
The file source ID.
This does not exist for LAS 1.0 files.
global_encoding: Option<GlobalEncoding>
The global encoding.
This does not exist for LAS 1.1 and 1.0 files.
project_id: [u8; 16]
The project id number.
version: Version
The LAS version.
system_id: [u8; 32]
The system identifier.
generating_software: [u8; 32]
The generating software.
file_creation_date: Date<UTC>
The day of file creation.
point_format: Format
The point format.
extra_bytes: u16
The number of extra bytes in the point beyond the standard.
point_count: u32
The number of points.
This value is taken from the header and is notoriously inaccurate.
point_count_by_return: [u32; 5]
The number of points by return count.
scale: Triple<f64>
The scaling that is applied to points as they are read.
offset: Triple<f64>
The offset of the points, in each dimension.
bounds: Bounds<f64>
The three-dimensional bounds, from the header.
vlrs: Vec<Vlr>
Variable length records.
padding: u32
Arbitrary byte padding between the header + VLRs and the points.
Trait Implementations
impl Debug for Header
[src]
impl Clone for Header
[src]
fn clone(&self) -> Header
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more