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

The file source ID.

This does not exist for LAS 1.0 files.

The global encoding.

This does not exist for LAS 1.1 and 1.0 files.

The project id number.

The LAS version.

The system identifier.

The generating software.

The day of file creation.

The point format.

The number of extra bytes in the point beyond the standard.

The number of points.

This value is taken from the header and is notoriously inaccurate.

The number of points by return count.

The scaling that is applied to points as they are read.

The offset of the points, in each dimension.

The three-dimensional bounds, from the header.

Variable length records.

Arbitrary byte padding between the header + VLRs and the points.

Trait Implementations

impl Debug for Header
[src]

Formats the value using the given formatter.

impl Clone for Header
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Header
[src]

Returns the "default value" for a type. Read more