[][src]Module las::feature

Programatically determine whether a las version supports a feature.

Features are structures that implement the Feature trait. The most common way to use features is via Version::supports or Version::verify_support_for:

use las::feature::Waveforms;
use las::{Version, Error};

let las_1_2 = Version::new(1, 2);
assert!(!las_1_2.supports::<Waveforms>());
assert!(las_1_2.verify_support_for::<Waveforms>().is_err());

let las_1_4 = Version::new(1, 4);
assert!(las_1_4.supports::<Waveforms>());
assert!(las_1_4.verify_support_for::<Waveforms>().is_ok());

Structs

Evlrs

Does this file support extended variable length records?

FileSourceId

Does the header allow a file source id, or is that field reserved?

GpsStandardTime

Is there a bit flag to set the type of time value in each point?

LargeFiles

Does this file support 64-bit point counts?

SyntheticReturnNumbers

Is there a bit flag to indicate synthetic return numbers?

Waveforms

Does this file support waveforms?

Traits

Feature

A trait implemented by each feature.