Struct las::Builder [−][src]
Builds headers.
Fields
date: Option<Date<Utc>>
The date of file creation.
file_source_id: u16
The file source id, sometimes the flight line.
generating_software: String
The software that created this file.
gps_time_type: GpsTimeType
The type of gps time, either week or standard.
guid: Uuid
A globally unique identifier.
has_synthetic_return_numbers: bool
Are the return numbers in this file syntheetic?
padding: Vec<u8>
Bytes after the header but before the vlrs.
point_format: Format
The format that the points will be written in.
point_padding: Vec<u8>
The bytes after the points but before any evlrs.
Discouraged.
system_identifier: String
The system that generated the points.
transforms: Vector<Transform>
The scale and offset that will be used to convert coordinates to i16
s to write in the
file.
version: Version
The las version.
vlr_padding: Vec<u8>
The bytes after the vlrs but before the points.
vlrs: Vec<Vlr>
The variable length records.
evlrs: Vec<Vlr>
The extended variable length records.
Implementations
impl Builder
[src]
pub fn new(raw_header: Header) -> Result<Builder>
[src]
Creates a new builder from a raw header.
Examples
use las::Builder; let builder = Builder::new(Default::default()).unwrap();
pub fn into_header(mut self: Self) -> Result<Header>
[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]
impl Debug for Builder
[src]
impl Default for Builder
[src]
impl From<Header> for Builder
[src]
impl<V: Into<Version>> From<V> for Builder
[src]
Auto Trait Implementations
impl RefUnwindSafe for Builder
[src]
impl Send for Builder
[src]
impl Sync for Builder
[src]
impl Unpin for Builder
[src]
impl UnwindSafe for Builder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,