pub struct LasHeader {
pub file_signature: String,
pub file_source_id: u16,
pub version_major: u8,
pub version_minor: u8,
pub point_format: u8,
pub point_record_length: u16,
pub num_points: u64,
pub scale: [f64; 3],
pub offset: [f64; 3],
pub min_bounds: [f64; 3],
pub max_bounds: [f64; 3],
}Expand description
LAS file header structure (subset of fields).
Fields§
§file_signature: StringFile signature (should be “LASF”).
file_source_id: u16File source ID.
version_major: u8Version major.
version_minor: u8Version minor.
point_format: u8Point data record format.
point_record_length: u16Point data record length.
num_points: u64Number of point records.
scale: [f64; 3]Scale factors [sx, sy, sz].
offset: [f64; 3]Offset [ox, oy, oz].
min_bounds: [f64; 3]Min bounds [min_x, min_y, min_z].
max_bounds: [f64; 3]Max bounds [max_x, max_y, max_z].
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LasHeader
impl RefUnwindSafe for LasHeader
impl Send for LasHeader
impl Sync for LasHeader
impl Unpin for LasHeader
impl UnsafeUnpin for LasHeader
impl UnwindSafe for LasHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.