pub struct Point {
pub position: Vec3,
pub intensity: Option<f32>,
pub color: Option<Color>,
pub classification: Option<u8>,
pub return_number: Option<u8>,
pub number_of_returns: Option<u8>,
pub gps_time: Option<f64>,
pub scan_angle: Option<f32>,
pub normal: Option<Vec3>,
pub attributes: PointAttributes,
}Expand description
Normalized LiDAR/point-cloud point.
Fields§
§position: Vec3§intensity: Option<f32>§color: Option<Color>§classification: Option<u8>§return_number: Option<u8>§number_of_returns: Option<u8>§gps_time: Option<f64>§scan_angle: Option<f32>§normal: Option<Vec3>§attributes: PointAttributesImplementations§
Source§impl Point
impl Point
pub fn new(x: f64, y: f64, z: f64) -> Self
pub fn with_intensity(self, intensity: f32) -> Self
pub fn with_color(self, color: Color) -> Self
pub fn with_classification(self, classification: u8) -> Self
pub fn with_normal(self, normal: Vec3) -> Self
Trait Implementations§
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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