Struct las::Builder [] [src]

pub struct Builder {
    pub date: Option<Date<Utc>>,
    pub file_source_id: u16,
    pub generating_software: String,
    pub gps_time_type: GpsTimeType,
    pub guid: Uuid,
    pub has_synthetic_return_numbers: bool,
    pub padding: Vec<u8>,
    pub point_format: Format,
    pub point_padding: Vec<u8>,
    pub system_identifier: String,
    pub transforms: Vector<Transform>,
    pub version: Version,
    pub vlr_padding: Vec<u8>,
    pub vlrs: Vec<Vlr>,
    pub evlrs: Vec<Vlr>,
    // some fields omitted
}

Builds headers.

Fields

The date of file creation.

The file source id, sometimes the flight line.

The software that created this file.

The type of gps time, either week or standard.

A globally unique identifier.

Are the return numbers in this file syntheetic?

Bytes after the header but before the vlrs.

The format that the points will be written in.

The bytes after the points but before any evlrs.

Discouraged.

The system that generated the points.

The scale and offset that will be used to convert coordinates to i16s to write in the file.

The las version.

The bytes after the vlrs but before the points.

The variable length records.

The extended variable length records.

Methods

impl Builder
[src]

[src]

Creates a new builder from a raw header.

Examples

use las::Builder;
let builder = Builder::new(Default::default()).unwrap();

[src]

Converts this builder into a Header.

Examples

use las::Builder;
let header = Builder::new(Default::default()).unwrap().into_header().unwrap();

Trait Implementations

impl Clone for Builder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Builder
[src]

[src]

Formats the value using the given formatter.

impl Default for Builder
[src]

[src]

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

impl<V: Into<Version>> From<V> for Builder
[src]

[src]

Performs the conversion.

impl From<Header> for Builder
[src]

[src]

Performs the conversion.