Skip to main content

LasPointRecord

Struct LasPointRecord 

Source
pub struct LasPointRecord {
Show 26 fields pub x: f64, pub y: f64, pub z: f64, pub intensity: u16, pub return_number: u8, pub number_of_returns: u8, pub classification: u8, pub scan_direction_flag: bool, pub edge_of_flight_line: bool, pub scan_angle: i16, pub user_data: u8, pub point_source_id: u16, pub synthetic: bool, pub key_point: bool, pub withheld: bool, pub overlap: bool, pub scan_channel: u8, pub gps_time: f64, pub red: u16, pub green: u16, pub blue: u16, pub nir: u16, pub wave_packet_descriptor_index: u8, pub byte_offset_to_waveform_data: u64, pub waveform_packet_size: u32, pub return_point_waveform_location: f32,
}
Expand description

In-memory representation of one full-fidelity LAS point.

Fields§

§x: f64§y: f64§z: f64§intensity: u16§return_number: u8§number_of_returns: u8§classification: u8§scan_direction_flag: bool§edge_of_flight_line: bool§scan_angle: i16§user_data: u8§point_source_id: u16§synthetic: bool§key_point: bool§withheld: bool§overlap: bool§scan_channel: u8§gps_time: f64§red: u16§green: u16§blue: u16§nir: u16§wave_packet_descriptor_index: u8§byte_offset_to_waveform_data: u64§waveform_packet_size: u32§return_point_waveform_location: f32

Implementations§

Source§

impl LasPointRecord

Source

pub fn from_las_point(point: &Point) -> Self

Convert from the canonical las::Point shape used by the las crate.

Trait Implementations§

Source§

impl Clone for LasPointRecord

Source§

fn clone(&self) -> LasPointRecord

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LasPointRecord

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for LasPointRecord

Source§

fn eq(&self, other: &LasPointRecord) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for LasPointRecord

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.